3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php use A\B\C\{ClassA as A, ClassB}; new A;
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Class 'A\B\C\ClassA' not found in /in/lHIIL:5 Stack trace: #0 {main} thrown in /in/lHIIL on line 5
Process exited with code 255.
Output for 5.4.12 - 5.6.21
Parse error: syntax error, unexpected '{', expecting identifier (T_STRING) in /in/lHIIL on line 3
Process exited with code 255.
Output for 5.3.22 - 5.3.29
Parse error: syntax error, unexpected '{', expecting T_STRING in /in/lHIIL on line 3
Process exited with code 255.