fix build and add the output in PHP 5

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@158103 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Nuno Lopes 2004-05-06 15:48:40 +00:00
parent 082f07dd74
commit 98bcf3f7d9

View file

@ -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,14 +36,25 @@ highlight_string('<?php phpinfo(); ?>');
]]>
</programlisting>
<para>
This script will output:
<para>
The above example will output (in PHP 4):
</para>
<screen>
<![CDATA[
<code><font color="#000000">
<font color="#0000BB">&lt;?php phpinfo</font><font color="#007700">(); </font><font color="#0000BB">?&gt;</font>
</font>
</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>