3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function void($arg = null, $arg2 = 'val', $arg3 = false) { var_dump($arg, $arg2, $arg3); } void($arg3 = true); void($arg2 => 'gog');
Output for 5.4.0 - 5.4.27
Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /in/sO8gR on line 8
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_DOUBLE_ARROW in /in/sO8gR on line 8
Process exited with code 255.