Bug #14073 Updated: Premature end of script headers
| From: | sniper@php.net | Date: | Fri, 16 Nov 2001 00:25:08 +0000 |
| Subject: | Bug #14073 Updated: Premature end of script headers | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-70612@lists.php.net to get a copy of this message | ||
ID: 14073
Updated by: sniper
Reported By: actualmatt@yahoo.com
Old Status: Open
Status: Feedback
Bug Type: Reproducible crash
Operating System: Win98
PHP Version: 4.0.6
New Comment:
Add shortest possible script which can be used to reproduce
this problem into this report.
--Jani
Previous Comments:
------------------------------------------------------------------------
[2001-11-15 16:25:00] actualmatt@yahoo.com
actually, after further checking it out, it is causing an invalid page fault in PHP4TS.DLL... does
this mean it is a problem with my system, rather than PHP?
------------------------------------------------------------------------
[2001-11-15 16:07:37] actualmatt@yahoo.com
...also, it does the same thing when run from the command line
------------------------------------------------------------------------
[2001-11-15 16:05:06] actualmatt@yahoo.com
Running PHP 4.0.6 on Apache 1.3.20, on Win98SE... Browser returns the "500 - Internal Server
Error" msg, and the error log reports "Premature end of script headers:
c:/php/php.exe"
It seems to be caused by an if() inside a while(), which is inside a foreach(). The script will
reach that point with no problems, but crashes on the execution of the "if( $day >
$startdate and $day < $enddate ){}"
PHP is only compiled with the default modules.
The other thing worth noting is that I get a "Php: This program has performed an illegal
operation and will be shut down" dialog box.
Thanks,
Matt Wilson <actualmatt@yahoo.com>
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14073&edit=1