Bug #66568 [Opn->Asn]: Update reflection information for unserialize() function
Edit report at https://bugs.php.net/bug.php?id=66568&edit=1
ID: 66568
Updated by: tyrael@php.net
Reported by: lisachenko dot it at gmail dot com
Summary: Update reflection information for unserialize()
function
-Status: Open
+Status: Assigned
Type: Bug
Package: Reflection related
Operating System: Windows
PHP Version: 5.6.0alpha1
-Assigned To:
+Assigned To: tyrael
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2014-01-27 18:28:46] pajoye@php.net
Not related to windows only
------------------------------------------------------------------------
[2014-01-24 05:57:47] lisachenko dot it at gmail dot com
Change "method" to "function" in the summary
------------------------------------------------------------------------
[2014-01-24 05:55:09] lisachenko dot it at gmail dot com
Description:
------------
For version PHP5.6 additional parameter $consumed was added to the unserialize() method, but
it's marked as required, need to make it optional and add this parameter into official
documentation.
Test script:
---------------
$ /c/php/php-5.6.0alpha1-nts-Win32-VC11-x86/php --rf unserialize
Expected result:
----------------
Function [ <internal:standard> function unserialize ] {
- Parameters [2] {
Parameter #0 [ <required> $variable_representation ]
Parameter #1 [ <optional> &$consumed ]
}
}
Actual result:
--------------
Function [ <internal:standard> function unserialize ] {
- Parameters [2] {
Parameter #0 [ <required> $variable_representation ]
Parameter #1 [ <required> &$consumed ]
}
}
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=66568&edit=1
Thread (6 messages)