svn: /phpdoc/en/trunk/reference/array/functions/ array-reduce.xml
| From: | Justin Martin | Date: | Fri, 03 Feb 2012 20:58:24 +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-9537@lists.php.net to get a copy of this message | ||
frozenfire Fri, 03 Feb 2012 20:58:24 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=323048
Log:
Added callback prototype. Closes bug #60956.
Bug: https://bugs.php.net/60956 (Assigned) incomplete
array_reduce description
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 2012-02-03 19:55:58 UTC (rev 323047)
+++ phpdoc/en/trunk/reference/array/functions/array-reduce.xml 2012-02-03 20:58:24 UTC (rev 323048)
@@ -38,6 +38,11 @@
<para>
The callback function.
</para>
+ <methodsynopsis>
+ <type>void</type><methodname>callback</methodname>
+ <methodparam><type>array</type><parameter
role="reference">result</parameter></methodparam>
+
<methodparam><type>mixed</type><parameter>item</parameter></methodparam>
+ </methodsynopsis>
</listitem>
</varlistentry>
<varlistentry>