Fixes for PHP + an example
Merge pull request #1 from beberlei/FixPhp

Fixes for PHP + an example