Fixed issue with PHP function and class declarations being hoisted inside functions
Removed requirement for PHP function bodies to be compound statements to simplify translation
Fixed issue with PHP function and class declarations inside 'while (...) {...}' loops being hoisted