Re: highlight_string()
| From: | derick@php.net | Date: | Fri, 25 Jan 2002 11:09:21 +0000 |
| Subject: | Re: highlight_string() | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-78106@lists.php.net to get a copy of this message | ||
Hoi,
this is implemented now... now testing..
Derick
On Fri, 25 Jan 2002, Pierre-Alain Joye wrote:
> On Fri, 25 Jan 2002 11:57:27 +0100
> Sebastian Bergmann <sebastian@php.net> 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();
> same for highliht_file, maybe simply a new optionnal param. That does not change
> BC.
>
> BOOL highlight_string(STRING,[&STRING])
> BOOL highlight_file(STRING,[&STRING])
>
> pa
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>