Browse Source

Fix bug #66568: the second arg for unserialize is optional.

pull/668/head
Ferenc Kovacs 12 years ago
parent
commit
aefc8f22b3
  1. 2
      NEWS
  2. 2
      ext/standard/basic_functions.c

2
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)

2
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()

Loading…
Cancel
Save