#50919 [Opn->Csd]: array_reduce prototype update

From: Date: Wed, 03 Feb 2010 09:52:50 +0000
Subject: #50919 [Opn->Csd]: array_reduce prototype update
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-3822@lists.php.net to get a copy of this message
ID: 50919 Updated by: salathe@php.net Reported By: cr at example dot com -Status: Open +Status: Closed Bug Type: Documentation problem PHP Version: 5.3SVN-2010-02-03 (SVN) New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. The prototype has been changed with a changelog entry added. Thanks! Previous Comments: ------------------------------------------------------------------------ [2010-02-03 09:45:03] svn@php.net Automatic comment from SVN on behalf of salathe Revision: http://svn.php.net/viewvc/?view=revision&revision=294358 Log: array_reduce initial parameter mixed as of 5.3.0. Closes #50919 ------------------------------------------------------------------------ [2010-02-03 00:52:35] cr at example dot com 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 this bug report at http://bugs.php.net/?id=50919&edit=1

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