Posted by MBS on 11/02/05 08:15
Greetings. I'm still pretty new to PHP and I have a question. I know that
variables are preceeded by a "$" (dollar sign). Typically, a variable has
one value, unless it is an array. Then it is essentially a pointer to
numerous values sequential in memory. The code I'm looking at now is using
the same variable name, but assigning a different "index" to it, if you
will.
For example, I see the following:
$settings['use_default_images']
$settings['doctype']
$settings['theme_url']
And many more.
What is this feature called in PHP? I looked at the reference on php.net
and it isn't anywhere to be found under arrays.
Thank you
[Back to original message]
|