Re: PHP Bug ?
| From: | Curt Zirzow | Date: | Sat, 03 Jul 2004 14:50:12 +0000 |
| Subject: | Re: PHP Bug ? | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-189627@lists.php.net to get a copy of this message | ||
* Thus wrote Siddharth Hegde:
> While we are on this topic, I have noticed that for only some keys,
> the following does not work
> $arr[KEY_NAME] but when I change this to $arr['KEY_NAME'] it works.
Because that is the *right* way to access the keyname.
> I seriosuly doubt that KEY_NAME is a restricted keyword as dreamweawer
> highlights these in different colors and this happens very rarely. In
> any case I will be working on PHP5 so i guess it will not happen again
Don't rely on dreamweaver as what is the proper syntax.
Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about. No, sir. Our model is the trapezoid!