aidan           Tue Aug  3 04:51:21 2004 EDT

  Modified files:              
    /phpdoc/en/reference/array/functions        array-walk.xml 
  Log:
  Replaced 'function' with 'funcname' as per synopsis
  
http://cvs.php.net/diff.php/phpdoc/en/reference/array/functions/array-walk.xml?r1=1.20&r2=1.21&ty=u
Index: phpdoc/en/reference/array/functions/array-walk.xml
diff -u phpdoc/en/reference/array/functions/array-walk.xml:1.20 
phpdoc/en/reference/array/functions/array-walk.xml:1.21
--- phpdoc/en/reference/array/functions/array-walk.xml:1.20     Tue Aug  3 03:05:43 
2004
+++ phpdoc/en/reference/array/functions/array-walk.xml  Tue Aug  3 04:51:19 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.20 $ -->
+<!-- $Revision: 1.21 $ -->
 <!-- splitted from ./en/functions/array.xml, last change in rev 1.2 -->
   <refentry id="function.array-walk">
    <refnamediv>
@@ -13,26 +13,26 @@
     <methodsynopsis>
      <type>bool</type><methodname>array_walk</methodname>
      <methodparam><type>array</type><parameter>&amp;array</parameter></methodparam>
-     <methodparam><type>callback</type><parameter>function</parameter></methodparam>
+     <methodparam><type>callback</type><parameter>funcname</parameter></methodparam>
      <methodparam 
choice="opt"><type>mixed</type><parameter>userdata</parameter></methodparam>
     </methodsynopsis>
     <simpara>
      &return.success;
     </simpara>
     <simpara>
-     Applies the user-defined function <parameter>function</parameter> to each
+     Applies the user-defined function <parameter>funcname</parameter> to each
      element of the <parameter>array</parameter> array. Typically, 
-     <parameter>function</parameter> takes on two parameters.
+     <parameter>funcname</parameter> takes on two parameters.
      The <parameter>array</parameter> parameter's value being the first, and
      the key/index second. If the optional <parameter>userdata</parameter>
      parameter is supplied, it will be passed as the third parameter to
-     the callback <parameter>function</parameter>.
+     the callback <parameter>funcname</parameter>.
     </simpara>
     <simpara>
-     If function <parameter>function</parameter> requires more parameters than 
+     If function <parameter>funcname</parameter> requires more parameters than 
      given to it, an error of level <link linkend="errorfunc.constants">
      E_WARNING</link> will be generated each time <function>array_walk</function>
-     calls <parameter>function</parameter>. These warnings may be suppressed by 
+     calls <parameter>funcname</parameter>. These warnings may be suppressed by 
      prepending the PHP error operator 
      <link linkend="language.operators.errorcontrol">@</link> to the 
      <function>array_walk</function> call, or by using 
@@ -40,9 +40,9 @@
     </simpara>
     <note>
      <para>
-      If <parameter>function</parameter> needs to be working with the
+      If <parameter>funcname</parameter> needs to be working with the
       actual values of the array, specify the first parameter of
-      <parameter>function</parameter> as a 
+      <parameter>funcname</parameter> as a 
       <link linkend="language.references">reference</link>. Then,
       any changes made to those elements will be made in the 
       original array itself.
@@ -50,7 +50,7 @@
     </note>
     <note>
      <para>
-      Passing the key and userdata to <parameter>function</parameter> was
+      Passing the key and userdata to <parameter>funcname</parameter> was
       added in 4.0.0
      </para>
     </note>

Reply via email to