com php-src: Fix bug #66568: the second arg for unserialize is optional.: NEWS ext/standard/basic_functions.c
| From: | Ferenc Kovacs | Date: | Sun, 13 Apr 2014 00:49:35 +0000 |
| Subject: | com php-src: Fix bug #66568: the second arg for unserialize is optional.: NEWS ext/standard/basic_functions.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-76805@lists.php.net to get a copy of this message | ||
Commit: aefc8f22b35999624f3a579696cf68b389f41ae8
Author: Ferenc Kovacs <tyrael@php.net> Sun, 13 Apr 2014 02:49:35 +0200
Parents: 51cbb85ea9ef758b75bf718985f634b83eb57b34
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=aefc8f22b35999624f3a579696cf68b389f41ae8
Log:
Fix bug #66568: the second arg for unserialize is optional.
Bugs:
https://bugs.php.net/66568
Changed paths:
M NEWS
M ext/standard/basic_functions.c
Diff:
diff --git a/NEWS b/NEWS
index b3ed9d9..48afea4 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,8 @@ PHP NEWS
. Fixed bug #66015 (Unexpected array indexing in class's static property). (Bob)
. Added (constant) string/array dereferencing to static scalar expressions
to complete the set; now possible thanks to bug #66015 being fixed. (Bob)
+ . Fixed bug #66568 (Update reflection information for unserialize() function).
+ (Ferenc)
- mysqlnd:
. Added a new fetching mode to mysqlnd. (Andrey)
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c
index be1a706..e525ff2 100644
--- a/ext/standard/basic_functions.c
+++ b/ext/standard/basic_functions.c
@@ -2646,7 +2646,7 @@ ZEND_BEGIN_ARG_INFO(arginfo_serialize, 0)
ZEND_ARG_INFO(0, var)
ZEND_END_ARG_INFO()
-ZEND_BEGIN_ARG_INFO(arginfo_unserialize, 0)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_unserialize, 0, 0, 1)
ZEND_ARG_INFO(0, variable_representation)
ZEND_ARG_INFO(1, consumed)
ZEND_END_ARG_INFO()