Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-1622

Implement get_properties_for handler from PHP 7.4

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: