3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array(1,2,3,4,5,6,7,8,9); function walk($a, $index = 0){ if (count($a) == $index + 1) { return; } else { walk($a, $index + 1); echo($a[$index]) } }
Output for 5.3.0 - 5.4.15
Parse error: syntax error, unexpected '}', expecting ',' or ';' in /in/b1tXI on line 10
Process exited with code 255.