Why Constants could Not be Array?
| From: | Walkinraven | Date: | Sat, 30 Apr 2011 09:51:15 +0000 |
| Subject: | Why Constants could Not be Array? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-312580@lists.php.net to get a copy of this message | ||
For needing a constants=array, I have to use
'public static $a = array(...)'
instead.
Why the language could not relax the restriction of constants?