3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php namespace Foo { class Me { } } namespace Bar { class Me { } } namespace Bar { use Foo\Me; $me = new Me(); var_dump($me); }
Output for hhvm-3.10.0 - 3.12.0
object(Foo\Me)#1 (0) { }
Output for 5.3.0 - 5.4.17
Fatal error: Cannot use Foo\Me as Me because the name is already in use in /in/Fe18H on line 11
Process exited with code 255.