3v4l.org

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