Bug #66568 [Csd]: Update reflection information for unserialize() function

From: Date: Sun, 13 Apr 2014 00:48:17 +0000
Subject: Bug #66568 [Csd]: Update reflection information for unserialize() function
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-185193@lists.php.net to get a copy of this message
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: Closed Type: Bug Package: Reflection related Operating System: Windows PHP Version: 5.6.0alpha1 Assigned To: tyrael Block user comment: N Private report: N New Comment: The fix for this bug has been committed. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2014-04-13 00:47:42] tyrael@php.net Automatic comment on behalf of tyrael Revision: http://git.php.net/?p=php-src.git;a=commit;h=aefc8f22b35999624f3a579696cf68b389f41ae8 Log: Fix bug #66568: the second arg for unserialize is optional. ------------------------------------------------------------------------ [2014-04-13 00:47:18] tyrael@php.net Automatic comment on behalf of tyrael Revision: http://git.php.net/?p=php-src.git;a=commit;h=aefc8f22b35999624f3a579696cf68b389f41ae8 Log: Fix bug #66568: the second arg for unserialize is optional. ------------------------------------------------------------------------ [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

« previous php.bugs (#185193) next »