svn: /phpdoc/en/trunk/reference/array/functions/ array-reduce.xml

From: Date: Wed, 03 Feb 2010 09:45:02 +0000
Subject: svn: /phpdoc/en/trunk/reference/array/functions/ array-reduce.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-5963@lists.php.net to get a copy of this message
salathe Wed, 03 Feb 2010 09:45:02 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=294358 Log: array_reduce initial parameter mixed as of 5.3.0. Closes #50919 Bug: http://bugs.php.net/50919 (Open) array_reduce prototype update Changed paths: U phpdoc/en/trunk/reference/array/functions/array-reduce.xml Modified: phpdoc/en/trunk/reference/array/functions/array-reduce.xml =================================================================== --- phpdoc/en/trunk/reference/array/functions/array-reduce.xml 2010-02-03 09:24:31 UTC (rev 294357) +++ phpdoc/en/trunk/reference/array/functions/array-reduce.xml 2010-02-03 09:45:02 UTC (rev 294358) @@ -11,7 +11,7 @@ <type>mixed</type><methodname>array_reduce</methodname> <methodparam><type>array</type><parameter>input</parameter></methodparam> <methodparam><type>callback</type><parameter>function</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>initial</parameter></methodparam> + <methodparam choice="opt"><type>mixed</type><parameter>initial</parameter></methodparam> </methodsynopsis> <para> <function>array_reduce</function> applies iteratively the @@ -63,6 +63,29 @@ <function>array_reduce</function> returns &null;. </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>5.3.0</entry> + <entry> + Changed <parameter>initial</parameter> to allow <type>mixed</type>, previously <type>integer</type>. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> <refsect1 role="examples"> &reftitle.examples; <para>

« previous php.doc.cvs (#5963) next »