Bug #66568 [NEW]: Update reflection information for unserialize() method

From: Date: Fri, 24 Jan 2014 05:55:10 +0000
Subject: Bug #66568 [NEW]: Update reflection information for unserialize() method
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-183984@lists.php.net to get a copy of this message
From: lisachenko dot it at gmail dot com Operating system: Windows PHP version: 5.6.0alpha1 Package: Reflection related Bug Type: Bug Bug description:Update reflection information for unserialize() method 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 bug report at https://bugs.php.net/bug.php?id=66568&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66568&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66568&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66568&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=66568&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=66568&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=66568&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=66568&r=needscript Try newer version: https://bugs.php.net/fix.php?id=66568&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=66568&r=support Expected behavior: https://bugs.php.net/fix.php?id=66568&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=66568&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=66568&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=66568&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66568&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=66568&r=dst IIS Stability: https://bugs.php.net/fix.php?id=66568&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=66568&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=66568&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=66568&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=66568&r=mysqlcfg

« previous php.bugs (#183984) next »