3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function a($a, $b=1, $c=9) { var_dump($a); var_dump($b); var_dump($c); } call_user_func_array('a', [12, , 22]);
Output for 5.4.0 - 5.4.24
Parse error: syntax error, unexpected ',', expecting ']' in /in/7oYBg on line 10
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected '[' in /in/7oYBg on line 10
Process exited with code 255.