From: Joe Watkins Date: Thu, 26 Jan 2017 06:58:08 +0000 (+0000) Subject: Fixed bug #73994 incorrect arginfo for unpack X-Git-Tag: php-7.1.2RC1~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=76a7470160f977e486a1c9953012241abb5c1159;p=php Fixed bug #73994 incorrect arginfo for unpack --- diff --git a/NEWS b/NEWS index ab1467f4ba..910b48c90c 100644 --- a/NEWS +++ b/NEWS @@ -9,6 +9,7 @@ PHP NEWS (Sara) . Fixed bug #73962 (bug with symlink related to cyrillic directory). (Anatol) . Fixed bug #73969 (segfault in debug_print_backtrace). (andrewnester) + . Fixed bug #73994 (arginfo incorrect for unpack). (krakjoe) - DOM: . Fixed bug #54382 (getAttributeNodeNS doesn't get xmlns* attributes). diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 4ee3ca4786..c9b2c4778e 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -1810,7 +1810,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_pack, 0, 0, 2) ZEND_ARG_VARIADIC_INFO(0, args) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO(arginfo_unpack, 0) +ZEND_BEGIN_ARG_INFO_EX(arginfo_unpack, 0, 0, 2) ZEND_ARG_INFO(0, format) ZEND_ARG_INFO(0, input) ZEND_ARG_INFO(0, offset)