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

Utilize zend_array_is_list() in php_phongo_is_array_or_document()

      php_phongo_is_array_or_document() iterates through array keys to differentiate between list and associative arrays.

      PHP 8.1 introduced a zend_array_is_list() function (php/php-src#6070), which has several performance improvements. We should consider using that function (backporting if necessary) or incorporating some its optimizations.

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

              Created:
              Updated: