Re: [PHP-DEV] Another output buffering oddity

2002-08-25 Thread Marcus Börger
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: >>Marcus Börger wrote: >> > You are using an undocumented

Re: [PHP-DEV] Another output buffering oddity

2002-08-25 Thread Zeev Suraski
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( >

Re: [PHP-DEV] Another output buffering oddity

2002-08-25 Thread Sebastian Bergmann
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 suppo

Re: [PHP-DEV] Another output buffering oddity

2002-08-25 Thread Marcus Börger
You are using an undocumented feature of ouput. if (!$this->_started) { ob_start( array( $this, 'transform' ) ); You set the output handler by passing an object and a method name in an array but this and arrays its

[PHP-DEV] Another output buffering oddity

2002-08-25 Thread Sebastian Bergmann
Just noticed that PEAR::XML::Transformer doesn't work with current HEAD, but works fine with PHP 4.2.3-RC1. This script overloadElement( 'bold', 'startElementBold', 'endElementBold' ); $t->start(); function startElementBold($attributes) { r