From 63934ea71e719cfc43e94167474f936d8da938de Mon Sep 17 00:00:00 2001 From: Gabriel Caruso Date: Sat, 24 Mar 2018 01:51:21 -0300 Subject: Fix #76131 some arginfo params are different from the documentation --- ext/spl/spl_array.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext/spl') diff --git a/ext/spl/spl_array.c b/ext/spl/spl_array.c index f8a98a3af2..8abb3ba7ed 100644 --- a/ext/spl/spl_array.c +++ b/ext/spl/spl_array.c @@ -153,7 +153,7 @@ static zend_always_inline uint32_t *spl_array_get_pos_ptr(HashTable *ht, spl_arr static void spl_array_object_free_storage(zend_object *object) { spl_array_object *intern = spl_array_from_obj(object); - + if (intern->ht_iter != (uint32_t) -1) { zend_hash_iterator_del(intern->ht_iter); } @@ -1859,8 +1859,8 @@ outexcept: /* {{{ arginfo and function table */ ZEND_BEGIN_ARG_INFO_EX(arginfo_array___construct, 0, 0, 0) - ZEND_ARG_INFO(0, array) - ZEND_ARG_INFO(0, ar_flags) + ZEND_ARG_INFO(0, input) + ZEND_ARG_INFO(0, flags) ZEND_ARG_INFO(0, iterator_class) ZEND_END_ARG_INFO() -- cgit v1.2.1