cvs: phpdoc /en/reference/array/functions in-array.xml
| From: | Jesus M. Castagnetto | Date: | Fri, 09 Aug 2002 23:14:01 +0000 |
| Subject: | cvs: phpdoc /en/reference/array/functions in-array.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969347956@lists.php.net to get a copy of this message | ||
jmcastagnetto Fri Aug 9 19:14:01 2002 EDT
Modified files:
/phpdoc/en/reference/array/functions in-array.xml
Log:
Fixing bug #18840
Index: phpdoc/en/reference/array/functions/in-array.xml
diff -u phpdoc/en/reference/array/functions/in-array.xml:1.4
phpdoc/en/reference/array/functions/in-array.xml:1.5
--- phpdoc/en/reference/array/functions/in-array.xml:1.4 Sun May 12 04:19:28 2002
+++ phpdoc/en/reference/array/functions/in-array.xml Fri Aug 9 19:14:01 2002
@@ -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 @@
$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>