3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php namespace A; { use C\E,B\D as P; function foo() { echo __NAMESPACE__;} class E{ function foo() { echo __NAMESPACE__;}} Sa=new P;} $a\foo(); ?>
Output for 5.4.0 - 5.4.19
Parse error: syntax error, unexpected 'use' (T_USE) in /in/hv4j5 on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_USE in /in/hv4j5 on line 4
Process exited with code 255.