note 91846 deleted from language.constants by thiago
| From: | thiago@php.net | Date: | Mon, 29 Jun 2009 03:28:33 +0000 |
| Subject: | note 91846 deleted from language.constants by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-157654@lists.php.net to get a copy of this message | ||
Note Submitter: kanenas at comcast dot net
----
@tudor:
The error message is entirely correct, but the exact meaning is subtle and thus confusing. It
indicates that the non-existent (not yet, anyway) constant MY_CONST was interpreted as the string
"MY_CONST". It's the same as anytime you use an undefined identifier, such as an
unquoted array index. I'm still looking for where this behavior is documented.