Re: Another output buffering oddity

From: Date: Sun, 25 Aug 2002 10:45:14 +0000
Subject: Re: Another output buffering oddity
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-87428@lists.php.net to get a copy of this message
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


« previous php.dev (#87428) next »