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

Replace PHONGO_ALLOC_OBJECT_T macro with zend_object_alloc

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.13.0
    • Affects Version/s: None
    • Component/s: None

      zend_object_alloc was introduced in php/php-src@b72b1a4 for PHP 7.3. Our existing PHONGO_ALLOC_OBJECT_T macro dates back to when we were juggling PHP 5 and 7 compatibility.

      It would be preferable to just define this function as-needed for PHP 7.2.

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

              Created:
              Updated:
              Resolved: