PHP 4.0 Bug #5643 Updated: Including of the same file
| From: | sniper@php.net | Date: | Tue, 21 Nov 2000 09:07:11 +0000 |
| Subject: | PHP 4.0 Bug #5643 Updated: Including of the same file | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-38767@lists.php.net to get a copy of this message | ||
ID: 5643
Updated by: sniper
Reported By: mop@globalpark.de
Status: Closed
Bug Type: Reproduceable crash
Assigned To:
Comments:
There is include_once() which should be used instead.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-07-17 22:57:55] joey@cvs.php.net
If you upgrade to php4.0.1pl2 or better, you will get a
segmentation fault instead of hanging. Still not ideal,
but better until it's fixed.
---------------------------------------------------------------------------
[2000-07-17 13:47:07] mop@globalpark.de
Ok...first of all it's a stupid bug:)
I made a include file "func.inc.php" and wanted to include config.inc.php. But instead of
including config.inc.php i included func.inc.php:)
The result was that my "server" started reading and was hang completely because he always
tried to include "func.inc.php" when he started with "func.inc.php" :)
PHP3 says that i can't redeclare my functions and i hope that PHP4 will do this as well in the
future.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=5643