com php-src: Fixed bug #71077 (ReflectionMethod for ArrayObject constructor returns wrong number of parameters): NEWS ext/spl/spl_array .c
| From: | Xinchen Hui | Date: | Thu, 10 Dec 2015 00:58:28 +0000 |
| Subject: | com php-src: Fixed bug #71077 (ReflectionMethod for ArrayObject constructor returns wrong number of parameters): NEWS ext/spl/spl_array .c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-90194@lists.php.net to get a copy of this message | ||
Commit: 7c1ddcc67f2777ce1789bb3f3fc7a614aad8a3dc
Author: Xinchen Hui <laruence@gmail.com> Thu, 10 Dec 2015 08:56:18 +0800
Parents: 91adffb4d150688d64328dbea58bf38559c0995a
Branches: PHP-7.0 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7c1ddcc67f2777ce1789bb3f3fc7a614aad8a3dc
Log:
Fixed bug #71077 (ReflectionMethod for ArrayObject constructor returns wrong number of parameters)
Bugs:
https://bugs.php.net/71077
Changed paths:
M NEWS
M ext/spl/spl_array.c
Diff:
diff --git a/NEWS b/NEWS
index aaf8929...1585a89 100644
--- a/NEWS
+++ b/NEWS
@@ -9,12 +9,16 @@ PHP NEWS
. Fixed bug #70781 (Extension tests fail on dynamic ext dependency).
(Francois Laupretre)
+- Filter:
+ . Fixed bug #71063 (filter_input(INPUT_ENV, ..) does not work). (Reeze Xia)
+
- Mbstring:
. Fixed bug #71066 (mb_send_mail: Program terminated with signal SIGSEGV,
Segmentation fault). (Laruence)
-- Filter:
- . Fixed bug #71063 (filter_input(INPUT_ENV, ..) does not work). (Reeze Xia)
+- SPL:
+ . Fixed bug #71077 (ReflectionMethod for ArrayObject constructor returns
+ wrong number of parameters). (Laruence)
?? ??? 2015, PHP 7.0.1
diff --git a/ext/spl/spl_array.c b/ext/spl/spl_array.c
index 3b704c7..bba8e55 100644
--- a/ext/spl/spl_array.c
+++ b/ext/spl/spl_array.c
@@ -1810,8 +1810,10 @@ outexcept:
} /* }}} */
/* {{{ arginfo and function table */
-ZEND_BEGIN_ARG_INFO_EX(arginfo_array___construct, 0, 0, 0)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_array___construct, 0, 0, 1)
ZEND_ARG_INFO(0, array)
+ ZEND_ARG_INFO(0, ar_flags)
+ ZEND_ARG_INFO(0, iterator_class)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_array_offsetGet, 0, 0, 1)