fix PHP functional api test
Merge pull request #4826 from VojtechVitek/fix_php_functional_api_test

Merged by openshift-bot