3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php namespace { class foo {} } namespace { use bar as foo; }
Output for 5.3.0 - 5.4.19
Fatal error: Cannot use bar as foo because the name is already in use in /in/YJpfR on line 8
Process exited with code 255.