Re: FW: [PHP] Constant Arrays Possible?
| From: | Ernest E Vogelsinger | Date: | Sun, 23 Feb 2003 18:37:37 +0000 |
| Subject: | Re: FW: [PHP] Constant Arrays Possible? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-136747@lists.php.net to get a copy of this message | ||
At 15:35 23.02.2003, Daniel R. Hansen said:
--------------------[snip]--------------------
>I know constants can't be changed or undefined; the use I have in mind won't
--------------------[snip]--------------------
Sorry, copied/pasted the wrong paragraph. The paragraph I wanted to include
here is
----------------------
Only scalar data (boolean, integer, float and string) can be contained in
constants.
----------------------
If you had a look into the online manual at the url
http://www.php.net/manual/en/language.constants.php
(I had included it in
my first response) you could see this immediately by yourself.
HTH,
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/