Re: Segfault in ob_*() callback
| From: | (Marcus Börger) | Date: | Sun, 01 Sep 2002 14:51:31 +0000 |
| Subject: | Re: Segfault in ob_*() callback | ||
| References: | 1 2 3 4 5 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-87686@lists.php.net to get a copy of this message | ||
At 15:25 01.09.2002, Zeev Suraski wrote:
At 16:10 01/09/2002, Marcus Börger wrote:My first thoughts were that there is no need to call the user functions when cleaning the output. So could you explain why? marcusThe 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 as i can tell by now).It should be called either way.