3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function someTest( $param1 =null) { echo $param1 . "\n"; print_r( func_get_args()); } $param1 = "Sozinho funciona"; $param2 = "acompanhado nem por isso"; someTest( , $param1); someTest($param1, $param2);
Output for 5.3.0 - 5.4.31
Parse error: syntax error, unexpected ',', expecting ')' in /in/DtGCM on line 11
Process exited with code 255.