cvs: phpdoc /en/functions array.xml
| From: | Jon Parise | Date: | Sat, 04 Aug 2001 19:55:41 +0000 |
| Subject: | cvs: phpdoc /en/functions array.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969336744@lists.php.net to get a copy of this message | ||
jon Sat Aug 4 15:55:41 2001 EDT
Modified files:
/phpdoc/en/functions array.xml
Log:
HTML-encode <?php and ?> to fix this example.
Index: phpdoc/en/functions/array.xml
diff -u phpdoc/en/functions/array.xml:1.83 phpdoc/en/functions/array.xml:1.84
--- phpdoc/en/functions/array.xml:1.83 Thu Aug 2 13:36:49 2001
+++ phpdoc/en/functions/array.xml Sat Aug 4 15:55:41 2001
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.83 $ -->
+<!-- $Revision: 1.84 $ -->
<reference id="ref.array">
<title>Array Functions</title>
<titleabbrev>Arrays</titleabbrev>
@@ -2233,14 +2233,14 @@
<example>
<title><function>in_array</function> with strict example</title>
<programlisting role="php">
-<?php
+<?php
$a = array('1.10', 12.4, 1.13);
if (in_array('12.4', $a, TRUE))
echo "'12.4' found with strict check\n";
if (in_array(1.13, $a, TRUE))
echo "1.13 found with strict check\n";
-?>
+?>
// This will output: