3v4l.org

run code in 300+ PHP versions simultaneously
<?php function _("hey","you"){ return array("and" => func_get_args()); }
Output for 5.4.0 - 5.4.23, 5.5.0 - 5.5.7
Parse error: syntax error, unexpected '"hey"' (T_CONSTANT_ENCAPSED_STRING), expecting '&' or variable (T_VARIABLE) in /in/A4a0c on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting '&' or T_VARIABLE in /in/A4a0c on line 3
Process exited with code 255.

preferences:
188.16 ms | 1395 KiB | 68 Q