]> granicus.if.org Git - php/commitdiff
Fix bug #66568: the second arg for unserialize is optional.
authorFerenc Kovacs <tyrael@php.net>
Sun, 13 Apr 2014 00:49:35 +0000 (02:49 +0200)
committerFerenc Kovacs <tyrael@php.net>
Sun, 13 Apr 2014 00:49:35 +0000 (02:49 +0200)
NEWS
ext/standard/basic_functions.c

diff --git a/NEWS b/NEWS
index b3ed9d9025682093eed66e5c62022b2091796741..48afea4682a51ec12733ab63ff131b41718336ff 100644 (file)
--- 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)
index be1a7062a1b45c21067225c75a9c2c468354f020..e525ff2a80e030ec3e830f5a77abe2ab9c0a6f2f 100644 (file)
@@ -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()