PHP 4.0 Bug #2096: define("DEBUG", TRUE); reports an error
| From: | jj at clearink dot com | Date: | Tue, 17 Aug 1999 21:29:47 +0000 |
| Subject: | PHP 4.0 Bug #2096: define("DEBUG", TRUE); reports an error | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-9953@lists.php.net to get a copy of this message | ||
From: jj@clearink.com
Operating system: Linux (slackware)
PHP version: 4.0 Beta 2
PHP Bug Type: Misbehaving function
Bug description: define("DEBUG", TRUE); reports an error
define("DEBUG", TRUE);
produces Warning: Constants may only evaluate to scalar values in
/www/htdocs/freetrade/modules/include/global_settings on line 53
Note, define("DEBUG", 1); does work.
Also note, print("true=" . TRUE); prints true=1