mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
array_reduce initial parameter mixed as of 5.3.0. Closes #50919
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@294358 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
2541fdcd88
commit
de318a3586
1 changed files with 24 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue