Re: [PHP-DEV] highlight_string()

2002-01-25 Thread Pierre-Alain Joye

On Fri, 25 Jan 2002 12:09:21 +0100 (CET)
<[EMAIL PROTECTED]> wrote:

> Hoi,
> 
> this is implemented now... now testing..
impressive reactivity :). 

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] highlight_string()

2002-01-25 Thread derick

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 <[EMAIL PROTECTED]> 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 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] highlight_string()

2002-01-25 Thread Martin Jansen

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 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] highlight_string()

2002-01-25 Thread Pierre-Alain Joye

On Fri, 25 Jan 2002 11:57:27 +0100
Sebastian Bergmann <[EMAIL PROTECTED]> 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 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] highlight_string()

2002-01-25 Thread Sebastian Bergmann

  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();

-- 
  Sebastian Bergmann
  http://sebastian-bergmann.de/ http://phpOpenTracker.de/

  Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]