note 2176 deleted from Constants by ronabop
| From: | ronabop@php.net | Date: | Sun, 03 Sep 2000 20:33:59 +0000 |
| Subject: | note 2176 deleted from Constants by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4082@lists.php.net to get a copy of this message | ||
I've run into a problem when using the FreeTrade package. Seems constants reffering to
constants give me a scaler value error.
define('CONSTANT', TRUE);
results in:
Warning: Constants may only evaluate to scalar values in
/usr/www/zort.on.ca/modules/include/init on line 239
This next bit of code also gives the above error...
$Value = true;
define('CONSTANT', $value);
Please email me if there is a setting, or a fix for this somewhere. Seems it works on some machines
but not others (I've yet to see the pattern yet). Thanks!