3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php namespace Foo; use Bar\Baz as Biz; class Biz {}
Output for 5.3.28 - 5.3.29, 5.4.18 - 5.6.28, 7.0.14 - 7.1.0
Fatal error: Cannot declare class Foo\Biz because the name is already in use in /in/Umerv on line 7
Process exited with code 255.
Output for 7.0.0 - 7.0.6
Output for hhvm-3.10.0 - 3.12.0
Fatal error: Cannot declare class Foo\Biz because the name is already in use: (Line: 7, Char: 12) in /in/Umerv on line 7
Process exited with code 255.
Output for 5.3.0 - 5.3.27, 5.4.0 - 5.4.17
Fatal error: Cannot declare class Foo\Biz because the name is already in use in /in/05tQP on line 7
Process exited with code 255.