ID: 11093
Updated by: yohgaki
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: Output Control
Operating System: Win32
PHP Version: 4.0.5
New Comment:

Does this happen with 4.1.0?

Previous Comments:
------------------------------------------------------------------------

[2001-05-24 13:05:28] [EMAIL PROTECTED]

I use Output Buffering for some php scripts and develop on a Win32 system. One time i 
tried to call a not existing function -> Apache crashes when i try to load the php 
document in a browser.

I don't have made a UNIX test right now, but on Win32
(Win 95/98/ME) Apache/PHP4TS.DLL crashes when i produce fatal errors (like the 
function call). Parse errors and others are displayed like normal. If i disable the 
output functions, the fatal error message is displayed like normal.


AUTO PREPEND FILE
-----------------
<?
ob_start();
?>

Resquested document: (by example: index.php)
---------------------------------------------
<?
undefinied_function(); // this function does not exist
?>


AUTO APPEND FILE
----------------
<?
$SITE_CONTENTS=ob_get_contents();
ob_end_clean();
print $SITE_CONTENTS;
?>

Additional Enviroment Info:
---------------------------
OS: WinME,Win98 SE
PHP: 4.05 running as Apache module
Loaded PHP Extensions: zlib,gd
Apache: Version 1.3.12



------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=11093&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to