RE: [PHP] What good are constants if you can't use them in anarray? [solved] I'm a jerk.
| From: | Daevid Vincent | Date: | Wed, 02 Aug 2006 23:36:18 +0000 |
| Subject: | RE: [PHP] What good are constants if you can't use them in anarray? [solved] I'm a jerk. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-240029@lists.php.net to get a copy of this message | ||
> > > Why is PHP so lame...
> > Why are you trolling on the PHP list?
Not trolling. Just frustrated. Apologies.
> Furthermore, you aren't even using them properly. The documentation
> clearly shows the following usage:
>
> ClassName::constant
This is how you have to use it.
> self::constant
> parent::constant
These don't work.
Okay. I deserve the new a$$hole I was ripped by the list.
Sorry.
I'll crawl back into my hole now... ;-)
d