mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
5629dea211
commit
554d45cae2
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
<?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:
|
||||
|
||||
|
|
Loading…
Reference in a new issue