mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Fixed PHP bug #51520 (strict-parameter of array_search() and object-identity)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297745 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
2ae9051669
commit
01adf8724e
1 changed files with 5 additions and 2 deletions
|
@ -48,9 +48,12 @@
|
|||
<listitem>
|
||||
<para>
|
||||
If the third parameter <parameter>strict</parameter> is set to &true;
|
||||
then the <function>array_search</function> function will also check the
|
||||
then the <function>array_search</function> function will search for
|
||||
<emphasis>identical</emphasis> elements in the
|
||||
<parameter>haystack</parameters>. This means it will also check the
|
||||
<link linkend="language.types">types</link> of the
|
||||
<parameter>needle</parameter> in the <parameter>haystack</parameter>.
|
||||
<parameter>needle</parameter> in the <parameter>haystack</parameter>,
|
||||
and objects must be the same instance.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
Loading…
Reference in a new issue