didou Tue Feb 17 08:17:07 2004 EDT
Modified files: /phpdoc/en/language types.xml Log: using screen http://cvs.php.net/diff.php/phpdoc/en/language/types.xml?r1=1.134&r2=1.135&ty=u Index: phpdoc/en/language/types.xml diff -u phpdoc/en/language/types.xml:1.134 phpdoc/en/language/types.xml:1.135 --- phpdoc/en/language/types.xml:1.134 Fri Jan 30 04:31:29 2004 +++ phpdoc/en/language/types.xml Tue Feb 17 08:17:07 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.134 $ --> +<!-- $Revision: 1.135 $ --> <chapter id="language.types"> <title>Types</title> @@ -1873,15 +1873,20 @@ echo "Do you like $color?\n"; } -/* output: +?> +]]> + </programlisting> + <para> + This will output: + </para> + <screen> +<![CDATA[ Do you like red? Do you like blue? Do you like green? Do you like yellow? -*/ -?> ]]> - </programlisting> + </screen> </example> <para> @@ -1907,8 +1912,14 @@ $colors[$key] = strtoupper($color); } print_r($colors); - -/* output: +?> +]]> + </programlisting> + <para> + This will output: + </para> + <screen> +<![CDATA[ Array ( [0] => RED @@ -1916,10 +1927,8 @@ [2] => GREEN [3] => YELLOW ) -*/ -?> ]]> - </programlisting> + </screen> </example> </para> <para> @@ -1931,18 +1940,22 @@ <?php $firstquarter = array(1 => 'January', 'February', 'March'); print_r($firstquarter); - -/* output: +?> +]]> + </programlisting> + <para> + This will output: + </para> + <screen> +<![CDATA[ Array ( [1] => 'January' [2] => 'February' [3] => 'March' ) -*/ -?> ]]> - </programlisting> + </screen> </example> </para> <example>