#29360 [Opn->Fbk]: 1 line function(echo) causes PHP to crash on IIS + apache, works using printf()

From: Date: Thu, 29 Jul 2004 22:36:34 +0000
Subject: #29360 [Opn->Fbk]: 1 line function(echo) causes PHP to crash on IIS + apache, works using printf()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-63786@lists.php.net to get a copy of this message
ID: 29360 Updated by: edink@php.net Reported By: suicidal_insanity at stormcoast-fortress dot ne -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: 2003 PHP Version: 5CVS-2004-07-23 (dev) New Comment: Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2004-07-23 23:41:45] suicidal_insanity at stormcoast-fortress dot ne Description: ------------ In a large script set (~10000 lines), I was using NWLN(); to output newlines in GUI functions, when testing PHP5 the server crashes after the function is called for the first time, the code in the function is not executed. Bug occurs under IIS 6 with php5isapi.dll and apache 1.3 with php5apache.dll. Reproduce code: --------------- function NWLN() // CRASHES! { echo "<br>"; } function NWLN() // WORKS { printf("<br>"); } Expected result: ---------------- expected script execution to continue Actual result: -------------- script execution stops silently under IIS 6, under apache 1.3 it causes a fatal exception. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29360&edit=1

« previous php.bugs (#63786) next »