Posted by Janwillem Borleffs on 09/04/05 02:56
windandwaves wrote:
> Does it slow things down to use proper names rather than numbers, i.e.
>
> $d["NAM"] rather than $d[0]
>
No, but using named keys is more verbose then using array indexes. When
referencing a key "NAM" then you can be sure you get the value of the key
"NAM"; with an index this doesn't have to be the case.
JW
[Back to original message]
|