Implement get_properties_for handler from PHP 7.4

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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.

            Assignee:
            Unassigned
            Reporter:
            Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: