Replace PHONGO_ALLOC_OBJECT_T macro with zend_object_alloc

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Minor - P4
    • 1.13.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • 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:
            Jeremy Mikola
            Reporter:
            Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: