mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Updated the prototype of highlight_*/show_source, in PHP4 they
return a boolean git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@35250 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
334658afb1
commit
f5c9a58abd
1 changed files with 5 additions and 2 deletions
|
@ -424,7 +424,7 @@ Mozilla/4.5 [en] (X11; U; Linux 2.2.9 i586)<hr>
|
|||
<title>Description</title>
|
||||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>void <function>highlight_file</function></funcdef>
|
||||
<funcdef>boolean <function>highlight_file</function></funcdef>
|
||||
<paramdef>string <parameter>filename</parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
|
@ -432,6 +432,7 @@ Mozilla/4.5 [en] (X11; U; Linux 2.2.9 i586)<hr>
|
|||
The <function>highlight_file</function> function prints out a syntax
|
||||
higlighted version of the code contained in <parameter>filename</parameter>
|
||||
using the colors defined in the built-in syntax highlighter for PHP.
|
||||
It returns true on success, false otherwise (PHP 4).
|
||||
</simpara>
|
||||
<para>
|
||||
<example>
|
||||
|
@ -520,6 +521,7 @@ http://your.server.com/source/path/to/script.php
|
|||
The <function>highlight_string</function> function prints out a syntax
|
||||
highlighted version of <parameter>str</parameter> using the colors defined
|
||||
in the built-in syntax highlighter for PHP.
|
||||
It returns true on success, false otherwise (PHP 4).
|
||||
</simpara>
|
||||
<simpara>
|
||||
See also <function>highlight_file</function>,
|
||||
|
@ -781,7 +783,7 @@ $binarydata = pack ("nvc*", 0x1234, 0x5678, 65, 66);
|
|||
<title>Description</title>
|
||||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>void <function>show_source</function></funcdef>
|
||||
<funcdef>boolean <function>show_source</function></funcdef>
|
||||
<paramdef>string <parameter>filename</parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
|
@ -789,6 +791,7 @@ $binarydata = pack ("nvc*", 0x1234, 0x5678, 65, 66);
|
|||
The <function>show_source</function> function prints out a syntax
|
||||
higlighted version of the code contained in <parameter>filename</parameter>
|
||||
using the colors defined in the built-in syntax highlighter for PHP.
|
||||
It returns true on success, false otherwise (PHP 4).
|
||||
</simpara>
|
||||
<note>
|
||||
<simpara>
|
||||
|
|
Loading…
Reference in a new issue