mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Fixing bug #18840
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@91418 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
80c9e16666
commit
ea51f2f62e
1 changed files with 6 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- splitted from ./en/functions/array.xml, last change in rev 1.56 -->
|
||||
<refentry id="function.in-array">
|
||||
<refnamediv>
|
||||
|
@ -96,17 +96,17 @@ if (in_array(1.13, $a, TRUE))
|
|||
$a = array(array('p', 'h'), array('p', 'r'), 'o');
|
||||
|
||||
if (in_array(array ('p', 'h'), $a))
|
||||
echo "'ph' is found\n";
|
||||
echo "'ph' was found\n";
|
||||
if (in_array(array ('f', 'i'), $a))
|
||||
echo "'fi' is not found\n";
|
||||
echo "'fi' was found\n";
|
||||
if (in_array('o', $a))
|
||||
echo "'o' is found\n";
|
||||
echo "'o' was found\n";
|
||||
?>
|
||||
|
||||
// This will output:
|
||||
|
||||
'ph' is found
|
||||
'o' is found
|
||||
'ph' was found
|
||||
'o' was found
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
|
|
Loading…
Reference in a new issue