The simple answer is unquoted tokens are assumed a different type of token than what you would have intended in PHP, in this case a constant. Tokens, if you've never heard the term before, are more or less the building blocks of a programming language. Variables, constants, operators, delimiters, keywords, punctuation.. are all tokens. Each token is interpretted by the parser or compiler and you get a working program (or non working program, whatever the case may be!).
In PHP a constant is a token without a dollar sign that acts as a placeholder for another value, like variables, but unlike variables constants can only be set once (hence the name) and may not be unset once set and are not subject to variable scope.
When you use an unquoted token in an array indice (or anywhere else for that matter), and that token is a string that does not contain a dollar sign but also fits the definition of what a constant is (contains letters, numbers, underscores) PHP will look for a defined constant by that name, if none are found and error_reporting is set to E_ALL (report all warnings and notices) PHP will spit out an error complaining that the constant didn't exist, then it will assume that you mean the token to be the string literal and will go on with execution. The books you are reading were likely written before the PHP group made the default value of error_reporting to be E_ALL which in effect was intended to give PHP greater security to find "unsafe" variable usage, variables that are used without being first defined, as well as to aid programmers discover things like logic errors from mispelled variable.
So all that being said you should always quote the array indices (if you're using strings, obviously integers don't have to be quoted).
Here are a few pages from the PHP manual which discuss this:
http://www.php.net/manual/en/language.types.array.php
http://www.php.net/manual/en/language.types.string.php
http://www.php.net/manual/en/language.constants.php
http://www.php.net/manual/en/security.errors.php
hth,
Rich
:::::::::::::::::::::::::::::::::
Smiling Souls
http://www.smilingsouls.net
:::::::::::::::::::::::::::::::::