strange problems with constants... maybe a bug?
| From: | Juan Luis Baptiste M. | Date: | Wed, 06 Sep 2000 20:19:50 +0000 |
| Subject: | strange problems with constants... maybe a bug? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-15592@lists.php.net to get a copy of this message | ||
Hi, I'm having the following problem with my scripts. I'm using php
4.0.1 I haven't had time to upgrade to 4.0.2.
If I define a constant named CONST in a script and asisgn to it some
value:
define (CONST,"myval");
then run the script normally, then In another script I define the same
constant but with other value, for example "otherval", some times the
second script is using the value of the same constant in the first
script, "myval" instead of "otherval". Is this normal or is a bug?
--
-------------------------------------
Juan Luis Baptiste M.
Ingeniero de Desarrollo
SANCHO/BBDO - Nextmedia Interactive
http://www.nextmedia-i.com
-------------------------------------