Some fixes for the PHP backend
Merge pull request #44 from 2xyo/master

Some fixes for the PHP backend