3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php namespace Baz { use Foo\Hey; use Baaz\Foo\Bar; use function Baaz\Foo\baar; use const Baaz\Foo\LOL; use const Baaz\Foo\ROFL; } namespace Baz\Gawd { use Foo\Hey; use Baaz\Foo\Bar; use function Baaz\Foo\baar; use const Baaz\Foo\LOL; use const Baaz\Foo\ROFL; }
based on N5KBN
Output for 5.6.7 - 7.2.0
Output for 5.4.0 - 5.5.35
Parse error: syntax error, unexpected 'function' (T_FUNCTION), expecting identifier (T_STRING) or \\ (T_NS_SEPARATOR) in /in/Mugue on line 7
Process exited with code 255.