At  this moment (php4.1.1) the function "highlight_string" has the following
syntax:


[quote]
bool highlight_string ( string str)
This function prints out a syntax highlighted version of str using the
colors defined in the built-in syntax highlighter for PHP. Returns TRUE or
FALSE.
[/quote]



The function will be more flexible if it returns a string (with highlights)
and nothing is printed directly.

str highlight_string ( string str)
This function returns a string containing a syntax highted version of str
using the colors defined in the built-in syntax highlighter for PHP. Returns
TRUE or FALSE.

Reference: http://lxr.php.net/source/ZendEngine2/zend_highlight.c#84



--
Rein Velt                  web application engineering
                                mailto:[EMAIL PROTECTED]
                                http://velt.net



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to