com php-src: Fixed bug #73994 incorrect arginfo for unpack: NEWS ext/standard/basic_functions.c
| From: | Joe Watkins | Date: | Thu, 26 Jan 2017 06:58:08 +0000 |
| Subject: | com php-src: Fixed bug #73994 incorrect arginfo for unpack: NEWS ext/standard/basic_functions.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-96878@lists.php.net to get a copy of this message | ||
Commit: 76a7470160f977e486a1c9953012241abb5c1159
Author: Joe Watkins <krakjoe@php.net> Thu, 26 Jan 2017 06:58:08 +0000
Parents: e5a6de6b9df81f66422b86d58191124f22d99b70
Branches: PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=76a7470160f977e486a1c9953012241abb5c1159
Log:
Fixed bug #73994 incorrect arginfo for unpack
Bugs:
https://bugs.php.net/73994
Changed paths:
M NEWS
M ext/standard/basic_functions.c
Diff:
diff --git a/NEWS b/NEWS
index ab1467f..910b48c 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 4ee3ca4..c9b2c47 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)