Fix Examples/php/pointer to work with PHP 5.5

With this, all examples work with PHP 5.5 for me.