3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function hmmm($bar = array()) { var_dump($bar); } $g = null; function hmmm($g);
Output for 5.4.18 - 5.4.19
Parse error: syntax error, unexpected ';', expecting '{' in /in/cnF3g on line 7
Process exited with code 255.
Output for 5.3.0 - 5.4.17
Parse error: syntax error, unexpected ';', expecting '{' in /in/Fsit2 on line 7
Process exited with code 255.