summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Watkins <krakjoe@php.net>2017-01-26 06:58:08 +0000
committerJoe Watkins <krakjoe@php.net>2017-01-26 06:58:08 +0000
commit76a7470160f977e486a1c9953012241abb5c1159 (patch)
tree9d66c8d1d2c2867bee9e09b367e9e6503207dcf4
parente5a6de6b9df81f66422b86d58191124f22d99b70 (diff)
downloadphp-git-76a7470160f977e486a1c9953012241abb5c1159.tar.gz
Fixed bug #73994 incorrect arginfo for unpack
-rw-r--r--NEWS1
-rw-r--r--ext/standard/basic_functions.c2
2 files changed, 2 insertions, 1 deletions
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)