3v4l.org

run code in 300+ PHP versions simultaneously
<?php function derp($dont,$show,$these) { (count($args = func_get_args()) > 3) ? print_R(array_slice($args)) : echo 'no args'; } derp('dont','show','these','show','these');
Output for 5.4.0 - 5.4.17
Parse error: syntax error, unexpected 'echo' (T_ECHO) in /in/JdVLW on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_ECHO in /in/JdVLW on line 3
Process exited with code 255.

preferences:
168.23 ms | 1386 KiB | 53 Q