Posted by Oli Filth on 09/16/05 02:14
David said the following on 15/09/2005 23:41:
> How can one tell if a PHP array is a simple array or a hashed array
> (key/valye). The gettype returns "array", but is there a function
> that will tell me the type?
>
Not really, PHP does not distinguish between the two.
Even the numeric "array" is really implemented as a hash-map, as the
indices do not have to be consecutive.
--
Oli
Navigation:
[Reply to this message]
|