fix variable names in php issues
Merge pull request #72 from vyorkin/bugfix/php-issues

fix variable names in php issues