3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php namespace blah { function meh() { } } function blah() { echo("Yay\n"); } blah();
Output for 5.3.0 - 5.4.22
Fatal error: No code may exist outside of namespace {} in /in/YBKj6 on line 9
Process exited with code 255.