ID: 19598
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: Reproducible crash
Operating System: Windows 2000, sp3
PHP Version: 4.2.3
New Comment:
oops, that should read,
<?php include("test.php"); ?>
Previous Comments:
------------------------------------------------------------------------
[2002-09-25 16:03:16] [EMAIL PROTECTED]
Allow me to be more specific. This was not a support question, as I
already know the answer to the problem. I just wanted to let you guys
know that this is a serious error which can bring down the php.exe file
on the remote server.
If I create an empty php file called "test.php" and place this text
within it, it will cause php.exe to crash.
<?php include("text.php"); ?>
It causes a loop which PHP doesn't prevent by throwing an error.
------------------------------------------------------------------------
[2002-09-25 13:18:21] [EMAIL PROTECTED]
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php
Thank you for your interest in PHP.
This is why you should use include/require_once functions, they will
prevent inclusion of the same file more then once.
The source of the crash I am guessing, is that your system simply ran
out of resources since what you did was make a fairly resource
entensive unterminated loop.
------------------------------------------------------------------------
[2002-09-25 13:13:17] [EMAIL PROTECTED]
Including a file in itself causes the php.exe program to crash.
It was late, and I was tired. :)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19598&edit=1