From f5c9a58abd920699057fd914117f48bec007201d Mon Sep 17 00:00:00 2001 From: "Jesus M. Castagnetto" Date: Sat, 4 Nov 2000 01:16:10 +0000 Subject: [PATCH] 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 --- functions/misc.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/functions/misc.xml b/functions/misc.xml index 88e3892525..da6d254879 100644 --- a/functions/misc.xml +++ b/functions/misc.xml @@ -424,7 +424,7 @@ Mozilla/4.5 [en] (X11; U; Linux 2.2.9 i586)<hr> Description - void highlight_file + boolean highlight_file string filename @@ -432,6 +432,7 @@ Mozilla/4.5 [en] (X11; U; Linux 2.2.9 i586)<hr> The highlight_file function prints out a syntax higlighted version of the code contained in filename using the colors defined in the built-in syntax highlighter for PHP. + It returns true on success, false otherwise (PHP 4). @@ -520,6 +521,7 @@ http://your.server.com/source/path/to/script.php The highlight_string function prints out a syntax highlighted version of str using the colors defined in the built-in syntax highlighter for PHP. + It returns true on success, false otherwise (PHP 4). See also highlight_file, @@ -781,7 +783,7 @@ $binarydata = pack ("nvc*", 0x1234, 0x5678, 65, 66); Description - void show_source + boolean show_source string filename @@ -789,6 +791,7 @@ $binarydata = pack ("nvc*", 0x1234, 0x5678, 65, 66); The show_source function prints out a syntax higlighted version of the code contained in filename using the colors defined in the built-in syntax highlighter for PHP. + It returns true on success, false otherwise (PHP 4).