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>

Reply via email to