mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
082f07dd74
commit
98bcf3f7d9
1 changed files with 14 additions and 3 deletions
|
@ -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"><?php phpinfo</font><font color="#007700">(); </font><font color="#0000BB">?></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"><?php phpinfo</span><span style="color: #007700">(); </span><span style="color: #0000BB">?></span>
|
||||
</span>
|
||||
</code>
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
|
|
Loading…
Reference in a new issue