[PHP-DOC] cvs: phpdoc /en/functions array.xml From: Andrei Zmievski (andrei <email protected>)
Date: 02/20/01

andrei Tue Feb 20 06:23:56 2001 EDT

  Modified files:
    /phpdoc/en/functions array.xml
  Log:
  Rename to array_search().
  
  
Index: phpdoc/en/functions/array.xml
diff -u phpdoc/en/functions/array.xml:1.57 phpdoc/en/functions/array.xml:1.58
--- phpdoc/en/functions/array.xml:1.57 Tue Feb 20 00:13:49 2001
+++ phpdoc/en/functions/array.xml Tue Feb 20 06:23:56 2001
@@ -1821,14 +1821,14 @@
      </example>
     </para>
     <para>
- See also <function>search_array</function>.
+ See also <function>array_search</function>.
     </para>
    </refsect1>
   </refentry>
 
- <refentry id="function.search-array">
+ <refentry id="function.array-search">
    <refnamediv>
- <refname>search_array</refname>
+ <refname>array_search</refname>
     <refpurpose>
      Searches the array for a given value and returns the corresponding key if successful
     </refpurpose>
@@ -1837,7 +1837,7 @@
     <title>Description</title>
     <funcsynopsis>
      <funcprototype>
- <funcdef>mixed <function>search_array</function></funcdef>
+ <funcdef>mixed <function>array_search</function></funcdef>
       <paramdef>mixed <parameter>needle</parameter></paramdef>
       <paramdef>array <parameter>haystack</parameter></paramdef>
       <paramdef>bool <parameter>strict</parameter></paramdef>
@@ -1850,7 +1850,7 @@
     </para>
     <para>
      If the third parameter <parameter>strict</parameter> is set to
- <literal>TRUE</literal> then the <function>search_array</function>
+ <literal>TRUE</literal> then the <function>array_search</function>
      will also check the types of the <parameter>needle</parameter>
      in the <parameter>haystack</parameter>.
     </para>