It works both with and without quotes around the key. Which is normal - 
you will be amazed at how forgiving PHP is - try this:



Leif K-Brooks wrote:
> I am using quotes around the key, just a dumb mistake in the example...
> Leif K-Brooks wrote:
>> Any idea what that error means?  I'm trying to do something like:
>> $array[] = array(a => "a value");

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to