PHP 4.0 Bug #9857: define("named_constant")
| From: | shmengie_2000 at yahoo dot com | Date: | Tue, 20 Mar 2001 06:15:49 +0000 |
| Subject: | PHP 4.0 Bug #9857: define("named_constant") | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-49453@lists.php.net to get a copy of this message | ||
From: shmengie_2000@yahoo.com
Operating system: winNT IIS4
PHP version: 4.0.1
PHP Bug Type: IIS related
Bug description: define("named_constant")
With this code at the top of an include file, the results are unpretictable.
if(!defined("METABASE_MYSQL_INCLUDED"))
{
define("METABASE_MYSQL_INCLUDED",1);
...rest of include file...
}
require_once(); seems to work though.
--
Edit Bug report at: http://bugs.php.net/?id=9857&edit=1