Re: Another output buffering oddity
| From: | (Marcus Börger) | Date: | Sun, 25 Aug 2002 11:24:31 +0000 |
| Subject: | Re: Another output buffering oddity | ||
| References: | 1 2 3 4 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-87430@lists.php.net to get a copy of this message | ||
Yep, i am nearly ready, i hope.
marcus
At 12:45 25.08.2002, Zeev Suraski wrote:
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:-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.phpMarcus 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 Bergmannhttp://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