updated php api in demo folder.

Signed-off-by: FellowTraveler <F3llowTraveler@gmail.com>