3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php use A\B as foo; 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/cM12O on line 3
Process exited with code 255.