Re: Another output buffering oddity

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

« previous php.dev (#87427) next »