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