Update reflection information for unserialize() function
[2014-01-24 05:55 UTC] 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 ]
}
}
[2014-01-24 05:57 UTC] lisachenko dot it at gmail dot com
-Summary: Update reflection information for unserialize() method +Summary: Update reflection information for unserialize() function
[2014-01-24 05:57 UTC] lisachenko dot it at gmail dot com
[2014-04-13 00:44 UTC] tyrael@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: tyrael
[2014-04-13 00:47 UTC] tyrael@php.net
-Status: Assigned +Status: Closed