note 19530 deleted from function.require-once by sniper

From: Date: Tue, 04 Nov 2003 00:45:56 +0000
Subject: note 19530 deleted from function.require-once by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-59830@lists.php.net to get a copy of this message
Note Submitter: priebe@mi-corporation.com ---- An interesting thing to note about require_once() is that if you have multiple directories in your include_path, and you have a copies of the file being required in more than one of those directories, you may still end up pulling in its contents more than once. This will lead to a fatal "cannot redeclare" error. This was with PHP 4.1.2. Haven't tested on other versions.

« previous php.notes (#59830) next »