Sebastian's right, even though this does require that the code allows 
this.  Was this changed since 4.2?

At 13:24 25/08/2002, Sebastian Bergmann wrote:
>Marcus Börger wrote:
> > You are using an undocumented feature of ouput.
> >
> >          if (!$this->_started) {
> >              ob_start(
> >                array(
> >                  $this, 'transform'
> >                )
> >              );
>
>   This is not an undocumented feature, AFAIK. Callbacks are supposed to
>   accept an array with $array[0] beeing an object and $array[1] the
>   method to call.
>
>   Changing this behaviour would break scripts, at least some of mine :-)
>
>--
>   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 <http://www.php.net/>
>To unsubscribe, visit: http://www.php.net/unsub.php


--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to