3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function derp($dont,$show,$these) { $args = func_get_args(); if (count($args) > 3) { $args = array_slice($args,3); print_R($args); } echo "no args"; } derp('dont','show','these','show','these')
Output for 5.4.0 - 5.5.1
Parse error: syntax error, unexpected end of file in /in/ENWv6 on line 12
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected $end in /in/ENWv6 on line 12
Process exited with code 255.