On Fri, 25 Jan 2002 11:57:27 +0100, Sebastian Bergmann wrote:

>  Could highlight_string() be changed to (optionally) return the
>  highlighted string?
>
>  The following works, but is IMHO overhead
>
>    ob_start();
>    highlight_string($string);
>    $string = ob_get_contents();
>    ob_end_clean();

+1

- Martin



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to