WHILE заместо FOR, неправильное определение

Issue #84 new
sidxx55 created an issue

выход

<?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;
}

?>

Comments (0)

  1. Log in to comment