3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php //namespace a; //define('t', true, true); //define('a\\true', false, t); //define('a\\false', t, t); namespace Api\Something { } namespace Api\SomethingElse { use \Api\Something as Private; define('t', true, true); }
Output for 5.4.0 - 5.4.27
Parse error: syntax error, unexpected 'Private' (T_PRIVATE), expecting identifier (T_STRING) in /in/MTBsg on line 14
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_PRIVATE, expecting T_STRING in /in/MTBsg on line 14
Process exited with code 255.