|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-12-29 00:05 UTC] spagmoid at yahoo dot com
On the SAPI version of php in Apache under WinXP:
for($Loop=0 ; $Loop<100000 ; $Loop++)
{
echo "blah $Loop ";
}
(usually) causes IE to abort loading and reload the page many times; eventually it just shows the standard "The page cannot be displayed", "Cannot find server or DNS Error".
Netscape simply aborts in the middle, usually around 50,000. But, sometimes it works fine.
If you add a flush() in the loop, the problem goes away.
Nothing shows up in the PHP or server error logs, so I assume its a crash.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 21 08:00:01 2025 UTC |
This does not seem to be a problem. I can not reproduce this crash with the following code. for($Loop=0 ; $Loop<100000000 ; $Loop++) { echo "blah $Loop "; } I am also using the SAPI version of PHP in Apache under Windows XP.