3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php use A\B as foo; Foo\func(); class Foo { }
Output for 5.3.0 - 5.4.29
Fatal error: Cannot declare class Foo because the name is already in use in /in/G811D on line 4
Process exited with code 255.