Re: PHP Bug ?

From: Date: Mon, 05 Jul 2004 19:07:12 +0000
Subject: Re: PHP Bug ?
References: 1 2 3 4 5  Groups: php.general php.general 
Request: Send a blank email to php-general+get-189745@lists.php.net to get a copy of this message
Siddharth Hegde wrote:
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. 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
This is explained in the manual section on arrays: http://www.php.net/manual/en/language.types.array.php#language.types.array.donts Sorry if that link wraps. Cheers, -- Torben Wilson <torben@php.net>

« previous php.general (#189745) next »