From:             suicidal_insanity at stormcoast-fortress dot net
Operating system: 2003
PHP version:      5CVS-2004-07-23 (dev)
PHP Bug Type:     Reproducible crash
Bug description:  1 line function(echo) causes PHP to crash on IIS + apache, works 
using printf()

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 bug report at http://bugs.php.net/?id=29360&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=29360&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=29360&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=29360&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=29360&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=29360&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=29360&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=29360&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=29360&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=29360&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=29360&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=29360&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=29360&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29360&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=29360&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=29360&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=29360&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29360&r=float

Reply via email to