#50919 [NEW]: array_reduce prototype update

From: Date: Wed, 03 Feb 2010 00:52:35 +0000
Subject: #50919 [NEW]: array_reduce prototype update
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-3821@lists.php.net to get a copy of this message
From: cr at example dot com Operating system: PHP version: 5.3SVN-2010-02-03 (SVN) PHP Bug Type: Documentation problem Bug description: array_reduce prototype update Description: ------------ the prototype in the docs should be updated $initial should now be mixed, not int Reproduce code: --------------- --- From manual page: function.array-reduce#Description --- Description mixed array_reduce ( array $input , callback $function [, int $initial ] ) http://svn.php.net/viewvc?view=revision&revision=265185 -- Edit bug report at http://bugs.php.net/?id=50919&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50919&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50919&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50919&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=50919&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50919&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=50919&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=50919&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=50919&r=needscript Try newer version: http://bugs.php.net/fix.php?id=50919&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=50919&r=support Expected behavior: http://bugs.php.net/fix.php?id=50919&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=50919&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=50919&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=50919&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50919&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=50919&r=dst IIS Stability: http://bugs.php.net/fix.php?id=50919&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=50919&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=50919&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=50919&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=50919&r=mysqlcfg

« previous php.doc.bugs (#3821) next »