PHP 4.0 Bug #5643: Including of the same file

From: Date: Mon, 17 Jul 2000 17:47:07 +0000
Subject: PHP 4.0 Bug #5643: Including of the same file
Groups: php.dev 
Request: Send a blank email to php-dev+get-24814@lists.php.net to get a copy of this message
From: mop@globalpark.de Operating system: Linux PHP version: 4.0 Release Candidate 2 PHP Bug Type: Reproduceable crash Bug description: Including of the same file 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.

« previous php.dev (#24814) next »