You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The design behind this component makes it very hard to port it to later PHP 8.2 versions and newer: likely scrapping it, or going back to the drawing board with it.
Measuring memory before/after from a high-level perspective is insufficient: we may need to rely on an extension that counts allocations/deallocations instead.
Activity
Removed unused `roave/no-leaks` component
Ocramius commentedon Dec 10, 2025
We may need https://www.php.net/manual/en/function.gc-status.php for this - it may give us information on anything not GC'd?
I couldn't get a really useful example out of it, but only tried for a couple minutes:
Produces:
I wonder if we can reliably count the
collectedcounter after multiple test executions, and base ourselves on it?Ocramius commentedon Dec 10, 2025
Thinking out loud:
Also being discussed in https://discord.com/channels/1090672946370052166/1091081297759309926/1448347506755895446 ( https://discord.gg/wp6sAjJR )