mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Specified that the third parameter for array_search ('strict') is optional. Noted in both the func. prototype and the description.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@58207 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
a522351ce6
commit
5cece6ee12
1 changed files with 3 additions and 3 deletions
|
@ -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 @@ if (in_array(1.13, $a, TRUE))
|
|||
<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 @@ if (in_array(1.13, $a, TRUE))
|
|||
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>.
|
||||
|
|
Loading…
Reference in a new issue