3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php namespace foo { class Bar {} } namespace phoo { class Bar{} } namespace phoo { use foo\Bar; class Baz {} }
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.1.6
Fatal error: Cannot use foo\Bar as Bar because the name is already in use in /in/b0goM on line 11
Process exited with code 255.
Output for hhvm-3.15.4