PHP 4.0 Bug #5217 Updated: define() returns TRUE when trying to redefine default constants
| From: | Bug Database | Date: | Wed, 26 Jul 2000 09:45:20 +0000 |
| Subject: | PHP 4.0 Bug #5217 Updated: define() returns TRUE when trying to redefine default constants | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-26242@lists.php.net to get a copy of this message | ||
ID: 5217
Updated by: waldschrott
Reported By: akul@otamedia.com
Status: Analyzed
Bug Type: Scripting Engine problem
Assigned To:
Comments:
sure, it shouldn´t return TRUE if defining fails,
to check whether a constant has been defined try out defined()
...
Full Bug description available at: http://bugs.php.net/?id=5217