3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function b() { echo 'a'; } namespace A { b(); }
Output for 5.3.0 - 5.4.24
Fatal error: Namespace declaration statement has to be the very first statement in the script in /in/3hRsZ on line 8
Process exited with code 255.