3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array = array(); for($i = 1; $i<=150, $i++){ $array[$i] = $i; } function walk($a, $index = 150){ if (-1 == $index -1) { echo($a[$index]); } else { echo($a[$index]); walk($a, $index -1); } } walk($array);
Output for 5.3.0 - 5.4.15
Parse error: syntax error, unexpected ')', expecting ';' in /in/WRvbX on line 3
Process exited with code 255.