cvs: phpdoc /en/reference/misc/functions highlight-string.xml

From: Date: Thu, 06 May 2004 15:48:41 +0000
Subject: cvs: phpdoc /en/reference/misc/functions highlight-string.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969360526@lists.php.net to get a copy of this message
nlopess Thu May 6 11:48:41 2004 EDT Modified files: /phpdoc/en/reference/misc/functions highlight-string.xml Log: fix build and add the output in PHP 5 http://cvs.php.net/diff.php/phpdoc/en/reference/misc/functions/highlight-string.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/misc/functions/highlight-string.xml diff -u phpdoc/en/reference/misc/functions/highlight-string.xml:1.4 phpdoc/en/reference/misc/functions/highlight-string.xml:1.5 --- phpdoc/en/reference/misc/functions/highlight-string.xml:1.4 Thu May 6 11:25:38 2004 +++ phpdoc/en/reference/misc/functions/highlight-string.xml Thu May 6 11:48:40 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/misc.xml, last change in rev 1.22 --> <refentry id="function.highlight-string"> <refnamediv> @@ -36,8 +36,8 @@ ]]> </programlisting> <para> - This script will output: - <para> + The above example will output (in PHP 4): + </para> <screen> <![CDATA[ <code><font color="#000000"> @@ -46,6 +46,17 @@ </code> ]]> </screen> + <para> + The above example will output (in PHP 5): + </para> + <screen> +<![CDATA[ +<code><span style="color: #000000"> +<span style="color: #0000BB">&lt;?php phpinfo</span><span style="color: #007700">(); </span><span style="color: #0000BB">?&gt;</span> +</span> +</code> +]]> + </screen> </example> </para> <note>

« previous php.doc (#969360526) next »