Fixed coding style, some inconsistencies and unused variables in PHP examples
Merge pull request #58 from perajovic/master

Fixed PHP examples