Syphic
08-20-2008, 04:16 PM
I was having a discussion with some co-workers today and thought I might ask others options.
What is the purpose of the single ticks in an array?
Example:
$arr['key'] = 'value';
The part we are referring to is the ['key'] instead of doing [key]?
Anyone has a good reason? I just could not remember sense it has become a happy to put the [' in there.
What is the purpose of the single ticks in an array?
Example:
$arr['key'] = 'value';
The part we are referring to is the ['key'] instead of doing [key]?
Anyone has a good reason? I just could not remember sense it has become a happy to put the [' in there.
