zak Mon Sep 24 17:34:39 2001 EDT
Modified files:
/phpdoc/en/functions array.xml
Log:
Specified that the third parameter for array_search ('strict') is optional. Noted in
both the func. prototype and the description.
Index: phpdoc/en/functions/array.xml
diff -u phpdoc/en/functions/array.xml:1.101 phpdoc/en/functions/array.xml:1.102
--- phpdoc/en/functions/array.xml:1.101 Fri Sep 21 21:22:44 2001
+++ phpdoc/en/functions/array.xml Mon Sep 24 17:34:39 2001
@@ -1,5 +1,5 @@
<?xml encoding="iso-8859-1"?>
-<!-- $Revision: 1.101 $ -->
+<!-- $Revision: 1.102 $ -->
<reference id="ref.array">
<title>Array Functions</title>
<titleabbrev>Arrays</titleabbrev>
@@ -2332,7 +2332,7 @@
<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>
+ <paramdef>bool <parameter><optional>strict</optional></parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
@@ -2341,7 +2341,7 @@
the array, &false; otherwise.
</para>
<para>
- If the third parameter <parameter>strict</parameter> is set to
+ If the optional third parameter <parameter>strict</parameter> is set to
&true; then the <function>array_search</function>
will also check the types of the <parameter>needle</parameter>
in the <parameter>haystack</parameter>.