At 10:10 31.08.2002, Sebastian Bergmann wrote:
Reproducing script:
?php
class Test {
function Test() {
ob_start(array($this, 'transform'));
}
function transform($buffer) {
ob_end_clean();
return $buffer;
}
}
$test =
Marcus Börger wrote:
Ever tried this in earlier version of PHP? I guess not!
I tested it with PHP 4.2.3-RC1, and it's broken there, too.
I did not claim that you broke this one, Marcus, so why the harsh
tone?
--
Sebastian Bergmann
http://sebastian-bergmann.de/
At 15:06 01.09.2002, Sebastian Bergmann wrote:
Marcus Börger wrote:
Ever tried this in earlier version of PHP? I guess not!
I tested it with PHP 4.2.3-RC1, and it's broken there, too.
I did not claim that you broke this one, Marcus, so why the harsh
tone?
Because you reverted
At 16:10 01/09/2002, Marcus Börger wrote:
The problem is that in function
PHPAPI void php_end_ob_buffer(zend_bool send_buffer, zend_bool just_flush
TSRMLS_DC)
the user function is called wether or not send_buffer is zero. (Zero means
flush
here and means the function must not be called, as far
At 15:25 01.09.2002, Zeev Suraski wrote:
At 16:10 01/09/2002, Marcus Börger wrote:
The problem is that in function
PHPAPI void php_end_ob_buffer(zend_bool send_buffer, zend_bool just_flush
TSRMLS_DC)
the user function is called wether or not send_buffer is zero. (Zero
means flush
here and
At 17:51 01/09/2002, Marcus Börger wrote:
At 15:25 01.09.2002, Zeev Suraski wrote:
At 16:10 01/09/2002, Marcus Börger wrote:
The problem is that in function
PHPAPI void php_end_ob_buffer(zend_bool send_buffer, zend_bool
just_flush TSRMLS_DC)
the user function is called wether or not send_buffer
At 17:10 01.09.2002, Zeev Suraski wrote:
At 17:51 01/09/2002, Marcus Börger wrote:
At 15:25 01.09.2002, Zeev Suraski wrote:
At 16:10 01/09/2002, Marcus Börger wrote:
The problem is that in function
PHPAPI void php_end_ob_buffer(zend_bool send_buffer, zend_bool
just_flush TSRMLS_DC)
the user
Marcus Börger wrote:
The problem here again is that in ob handlers no ob_xxx() function can
be called.
FYI: I know that I shouldn't do that, but I tried
?php
class Test {
function Test() {
ob_start(array($this, 'transform'));
}
function
At 18:02 01.09.2002, Sebastian Bergmann wrote:
Marcus Börger wrote:
The problem here again is that in ob handlers no ob_xxx() function can
be called.
FYI: I know that I shouldn't do that, but I tried
?php
class Test {
function Test() {
ob_start(array($this,
This is known issue for a long time.
Sebastian Bergmann wrote:
Marcus Börger wrote:
The problem here again is that in ob handlers no ob_xxx() function can
be called.
*SNIP*
It'd be okay IMHO to prohibit ob_*() calls inside a handler.
There are functions like this. i.e. array_filter,
10 matches
Mail list logo