3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function do_html_heading($level = 1, $heading) { echo "<h" . ($level = (int)$level ? : 1) . ">" . $heading . "</h{$level}>" ; } do_html_heading(, "mon titre");
Output for 5.3.0 - 5.4.23
Parse error: syntax error, unexpected ',', expecting ')' in /in/YpW6o on line 6
Process exited with code 255.