A new #phpparser release dropped.

It contains a opt-in improvement for NodeConnectingVisitor and ParentConnectingVisitor to make it use WeakReferences to assist #php garbage collector.

This might be useful for you in case you use the lib on big ASTs to reclaim memory.

https://github.com/nikic/PHP-Parser/pull/1057

Support WeakReferences in NodeConnectingVisitor by staabm · Pull Request #1057 · nikic/PHP-Parser

closes #1055 we observed perf improvements on a similar visitor in staabm/phpstan-dba#667 (comment)

GitHub

In Q1/2024 I #contributed to 26 #opensource projects a whopping 92 merged Pull Requests, mostly in my freetime.

Highlights
- 28 @phpstan
- 2 @psalmphp
- 7 @phpunit
- 3 #betterreflection
- 2 nikic #phpparser
- 5 @rectorphp

please consider sponsoring if you rely on this tools

https://github.com/sponsors/staabm

Sponsor @staabm on GitHub Sponsors

Open source is my passion and I love contributing to various projects 🤟

GitHub