didou Tue Feb 3 14:07:11 2004 EDT
Modified files:
/phpdoc/en/reference/var/functions is-array.xml
Log:
get rid of this nasty <br />
add a cr before ]]>
add a 'this example will output' between the program and the output
http://cvs.php.net/diff.php/phpdoc/en/reference/var/functions/is-array.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc/en/reference/var/functions/is-array.xml
diff -u phpdoc/en/reference/var/functions/is-array.xml:1.3
phpdoc/en/reference/var/functions/is-array.xml:1.4
--- phpdoc/en/reference/var/functions/is-array.xml:1.3 Tue Feb 3 13:29:00 2004
+++ phpdoc/en/reference/var/functions/is-array.xml Tue Feb 3 14:07:11 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/var.xml, last change in rev 1.2 -->
<refentry id="function.is-array">
<refnamediv>
@@ -24,19 +24,23 @@
<?php
$yes = array('this', 'is', 'an array');
-echo is_array($yes) ? 'Array' : 'not Array';
-echo '<br/>';
+echo is_array($yes) ? 'Array' : 'not an Array';
+echo "\n";
$no = 'this is a string';
-echo is_array($no) ? 'Array' : 'not Array';
+echo is_array($no) ? 'Array' : 'not an Array';
?>
]]>
</programlisting>
+ <para>
+ This example will output :
+ </para>
<screen>
<![CDATA[
-Array<br/>
-not Array]]>
+Array
+not an Array
+]]>
</screen>
</example>
</para>