Minor improvements to array_map() docs

Patch contributed by Larry Garfield.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350490 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker 2020-09-02 16:31:49 +00:00
parent fea06f18ec
commit fcb6e76fc6

View file

@ -17,7 +17,7 @@
<para>
<function>array_map</function> returns an &array; containing
the results of applying the <parameter>callback</parameter>
function to the corresponding index of <parameter>array1</parameter>
to the corresponding index of <parameter>array1</parameter>
(and <parameter>...</parameter> if more arrays are provided)
used as arguments for the callback.
The number of parameters that the <parameter>callback</parameter>
@ -34,7 +34,7 @@
<term><parameter>callback</parameter></term>
<listitem>
<para>
Callback function to run for each element in each array.
A <type>callable</type> to run for each element in each array.
</para>
<para>
&null; can be passed as a value to <parameter>callback</parameter>