-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
While working on PHPC-1598, I learned that PHP 7.4 introduced a new get_properties_for handler in 7ec8087. That API would allow us to explicitly handle var_export (among other contexts) and avoid the issue in PHPC-1598 where relying on get_properties for debugging purposes caused issues with garbage collection.
We should investigate whether we can start using the new handler while also providing a BC layer for versions prior to 7.4.
- is related to
-
PHPC-1598 Objects with get_properties handlers should have get_gc delegate to zend_std_get_properties
- Closed