WHILE заместо FOR, неправильное определение
Issue #84
new
выход
<?php
$i = 0;
while ($i < $children) {
if (isset($ast[$i + 1])) {
$key = decompileAst($ast[$i], $EX);
$value = decompileAst($ast[$i + 1], $EX);
$array->value[] = array($key, $value);
}
else {
$array->value[] = array(NULL, decompileAst($ast[$i], $EX));
}
$i += 2;
}
?>