3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function use($string) { echo $string; } use('test');
Output for 5.4.0 - 5.4.14
Parse error: syntax error, unexpected 'use' (T_USE), expecting identifier (T_STRING) or '(' in /in/0IaYd on line 3
Process exited with code 255.
Output for 5.3.3 - 5.3.24
Parse error: syntax error, unexpected T_USE, expecting T_STRING or '(' in /in/0IaYd on line 3
Process exited with code 255.
Output for 5.2.14 - 5.2.17
Parse error: syntax error, unexpected T_USE, expecting T_STRING in /in/0IaYd on line 3
Process exited with code 255.