NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #3349 most downloaded on Packagist
Tolerant PHP-to-AST parser designed for IDE usage scenarios
Latest stable
v0.2.2
Last release 10 days ago
24 Nov 2026
Release timing varies
gaps range from 5 weeks to 3.1 years
Rarely documented
notes for 2 of 29 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
29 releases · first in 2017
Drag across the ruler to compare, or tap a release to open it.
More valid PHP that the parser rejected now parses (#18):
More valid PHP that the parser rejected now parses (#18):
clone with an argument list (PHP 8.6): clone(?), clone(...), clone($obj, ?), clone(object: $obj), clone().new readonly class {}, new #[A] readonly class(1) {}.&get => $this->x;.public int $x = 1 { get => ...; }, also after an object default (= new Foo() { get => ... }).__PROPERTY__.f as list;, list as protected;, T::f as public array;."$a[-3]".b"a $x", b<<<E.use string as X;, use function Foo\bar as string;.readonly: readonly(), new (readonly())().Changes to the tree:
CloneExpression::$argumentExpressionList (set instead of $expression when the parentheses hold anything other than the object and the optional modifications), ObjectCreationExpression::$modifiers, PropertyHook::$byRefToken, Parameter::$hookList."$a[-3]" has a UnaryOpExpression around the number as the offset.readonly() call is a QualifiedName whose name part keeps the kind ReadonlyKeyword when php's tokenizer returns the keyword. getResolvedName() and getLastNamePart() accept it; the name resolves to the global function.Now reported as errors, as in PHP:
A as protected public b;.$x = C{0}): the braces start a hook list.Your coding agent can read these notes before it upgrades. Set up the MCP server →
Valid PHP that the parser rejected now parses (#17):
Valid PHP that the parser rejected now parses (#17):
f(1, ?), f(1, ...), f(a: ?). ArgumentExpression has a new child questionToken; expression is null for placeholders.(void) cast (PHP 8.5), with a whole expression as its operand: (void) $x = f();. New token kind TokenKind::VoidCastToken.null/true/false: ['A', 'm'](), [0, 1][0], null?->x.protected(set) int $x;, public(set) readonly int $r;.clone (expr)->prop and clone ($a)[0].public ?int $x = null { get => ... }, public int $x = self::A { ... }.Changes to the tree:
PropertyDeclaration::$modifiers, in source order. $setVisibilityToken still refers to it but is no longer in CHILD_NAMES.intdiv(..., 3) and array(0)() no longer produce parse errors. A variadic placeholder that is not last is reported as a diagnostic ("Variadic placeholder must be last").New diagnostics:
f(..., 1) and f(..., ...).for expression list: $x = (void) f();, for (; (void) f(); ).Not yet supported: clone(?) and clone(...), new readonly class, &get hooks and hooks on promoted parameters with a default.
This project publishes no release notes. Between v0.1.2 and v0.2.0 there were 86 commits, 61 of them substantive:
This project publishes no release notes. Between v0.1.2 and v0.2.0 there were 86 commits, 61 of them substantive:
@param string ...$classNames…and 41 more.
Fix PHP 8.2 deprecation notices in tolerant-php-parser
This project publishes no release notes. Between v0.1.1 and v0.1.2 there were 56 commits, 35 of them substantive:
a ? a ? a : b : bA|(B&C) dnf types…and 15 more.
This project publishes no release notes. Between v0.1.0 and v0.1.1 there were 9 commits, 6 of them substantive:
This project publishes no release notes. Between v0.1.0 and v0.1.1 there were 9 commits, 6 of them substantive:
Deprecate IterableKeyword in favor of IterableReservedWord
This project publishes no release notes. Between v0.0.23 and v0.1.0 there were 18 commits, 13 of them substantive:
[] with phpcbfThis project publishes no release notes. Between v0.0.22 and v0.0.23 there were 22 commits, 15 of them substantive:
This project publishes no release notes. Between v0.0.22 and v0.0.23 there were 22 commits, 15 of them substantive:
#[ attribute groupsnew #[MyAttr] class {...}trait #[This project publishes no release notes. Between v0.0.21 and v0.0.22 there were 2 commits, 1 of them substantive:
This project publishes no release notes. Between v0.0.21 and v0.0.22 there were 2 commits, 1 of them substantive:
This project publishes no release notes. Between v0.0.20 and v0.0.21 there were 23 commits, 13 of them substantive:
This project publishes no release notes. Between v0.0.20 and v0.0.21 there were 23 commits, 13 of them substantive:
throw as an expressionThis project publishes no release notes. Between v0.0.19 and v0.0.20 there were 16 commits, 10 of them substantive:
This project publishes no release notes. Between v0.0.19 and v0.0.20 there were 16 commits, 10 of them substantive:
new (call_function())()This project publishes no release notes. Between v0.0.18 and v0.0.19 there were 5 commits, 3 of them substantive:
This project publishes no release notes. Between v0.0.18 and v0.0.19 there were 5 commits, 3 of them substantive:
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.