php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29360 1 line function(echo) causes PHP to crash on IIS + apache, works using printf()
Submitted: 2004-07-23 23:41 UTC Modified: 2004-08-10 01:00 UTC
From: suicidal_insanity at stormcoast-fortress dot ne Assigned:
Status: No Feedback Package: Reproducible crash
PHP Version: 5CVS-2004-07-23 (dev) OS: 2003
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: suicidal_insanity at stormcoast-fortress dot ne
New email:
PHP Version: OS:

 

 [2004-07-23 23:41 UTC] 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-30 00:36 UTC] edink@php.net
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


 [2004-07-30 00:37 UTC] edink@php.net
Actually you should probably try:

http://snaps.php.net/win32/php5.0-win32-latest.zip
 [2004-08-10 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 06:01:29 2024 UTC