3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php namespace Baz; use Foo; use const Foo; use function Foo;
based on aVhrU
Output for 5.6.7 - 7.2.0
Output for 5.4.0 - 5.5.35
Parse error: syntax error, unexpected 'const' (T_CONST), expecting identifier (T_STRING) or \\ (T_NS_SEPARATOR) in /in/nQ3G0 on line 6
Process exited with code 255.