- Output for 5.3.0 - 5.3.25, 5.4.0 - 5.4.15
- Parse error: syntax error, unexpected '}', expecting ',' or ';' in /in/b1tXI on line 10
Process exited with code 255.
<?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])
}
}