note 13582 deleted from language.constants by tularis
| From: | tularis@php.net | Date: | Tue, 12 Oct 2004 13:58:35 +0000 |
| Subject: | note 13582 deleted from language.constants by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-78407@lists.php.net to get a copy of this message | ||
Note Submitter: jromalo at hotmail dot com
----
Constants have the same naming rules as variables (though the docs don't actually say that). So
you can't begin a constant name with a number.
if you name the
constant beginning with a numeral, such as:
define ("999CONSTANT", "some value");
whereas
define ("CONSTANT999", "some value");
works fine.