diff --git a/lib/PhpParser/Lexer/TokenEmulator/ExplicitOctalEmulator.php b/lib/PhpParser/Lexer/TokenEmulator/ExplicitOctalEmulator.php index e1eb688..f5f6805 100644 --- a/lib/PhpParser/Lexer/TokenEmulator/ExplicitOctalEmulator.php +++ b/lib/PhpParser/Lexer/TokenEmulator/ExplicitOctalEmulator.php @@ -23,6 +23,7 @@ class ExplicitOctalEmulator extends TokenEmulator { array_splice($tokens, $i, 2, [ [$tokenKind, '0' . $tokens[$i + 1][1], $tokens[$i][2]], ]); + $c--; } } return $tokens;