cvs: phpdoc /en/functions misc.xml
| From: | Jesus M. Castagnetto | Date: | Sat, 04 Nov 2000 01:16:10 +0000 |
| Subject: | cvs: phpdoc /en/functions misc.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969332787@lists.php.net to get a copy of this message | ||
jmcastagnetto Fri Nov 3 17:16:10 2000 EDT
Modified files:
/phpdoc/en/functions misc.xml
Log:
Updated the prototype of highlight_*/show_source, in PHP4 they
return a boolean
Index: phpdoc/en/functions/misc.xml
diff -u phpdoc/en/functions/misc.xml:1.34 phpdoc/en/functions/misc.xml:1.35
--- phpdoc/en/functions/misc.xml:1.34 Wed Nov 1 22:38:45 2000
+++ phpdoc/en/functions/misc.xml Fri Nov 3 17:16:10 2000
@@ -424,7 +424,7 @@
<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 @@
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 @@
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 @@
<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 @@
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>