#19525 [Fbk]: Yet Another Output Buffering Issue (YAOBI)
| From: | sebastian@php.net | Date: | Fri, 20 Sep 2002 15:40:12 +0000 |
| Subject: | #19525 [Fbk]: Yet Another Output Buffering Issue (YAOBI) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-19884@lists.php.net to get a copy of this message | ||
ID: 19525
Updated by: sebastian@php.net
Reported By: sebastian@php.net
Status: Feedback
Bug Type: Output Control
Operating System: Any
PHP Version: 4CVS-2002-09-20
New Comment:
I tested this with both CGI and CLI SAPI modules.
My php.ini is below.
allow_call_time_pass_reference = Off
error_reporting = E_ALL & ~E_NOTICE
display_errors = On
display_startup_errors = On
report_memleaks = On
register_globals = Off
register_argc_argv = On
include_path = ".;c:\server\pear;c:\server\htdocs"
extension_dir = c:\home\php\php4\release_ts
;extension=php_adt.dll
;extension=php_gd.dll
session.save_path = c:\server\apache\sessions\
url_rewriter.tags = "a=href, area=href, frame=src, input=src,
form=fakeentry"
docref_ext = ".html"
docref_root = "file:///C:/Dokumente und
Einstellungen/Administrator/Eigene Dateien/PHP Manual/"
Previous Comments:
------------------------------------------------------------------------
[2002-09-20 09:51:54] derick@php.net
Both Andrei and myself were not be able to reproduce this. We both got
the error message with CVS HEAD>
Perhaps it is related to settings in php.ini, or related to the SAPI?
Can you point us to the php.ini and tell which SAPI you used?
Derick
------------------------------------------------------------------------
[2002-09-20 09:12:23] sebastian@php.net
Here is a reproducing script. It does not make sense, because it is
ripped out of its XML_Transformer context:
<?php
ob_start('callback');
function callback($buffer) {
ob_start();
eval($buffer);
$result = ob_get_contents();
ob_end_clean();
return $result;
}
?>
echo 'test';
PHP 4.2.3
Fatal error: Cannot use output buffering in output buffering
display handlers
HEAD
Neither output nor error message.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19525&edit=1