It works both with and without quotes around the key. Which is normal - you will be amazed at how forgiving PHP is - try this:
<? echo(test); ?> Bogdan 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 (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php