HTML-encode <?php and ?> to fix this example.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@53331 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jon Parise 2001-08-04 19:55:41 +00:00
parent 5629dea211
commit 554d45cae2

View file

@ -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 @@ if (in_array ("Irix", $os)){
<example>
<title><function>in_array</function> with strict example</title>
<programlisting role="php">
<?php
&lt;?php
$a = array('1.10', 12.4, 1.13);
if (in_array('12.4', $a, TRUE))
echo &quot;'12.4' found with strict check\n&quot;;
if (in_array(1.13, $a, TRUE))
echo &quot;1.13 found with strict check\n&quot;;
?>
?&gt;
// This will output: