Fixed bug with php support
Fixed error in php sample file
Updated revision