3v4l.org

run code in 300+ PHP versions simultaneously
<?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.

preferences:
172.73 ms | 1395 KiB | 44 Q