Re: Associative vs normal arrays
| From: | Yev | Date: | Sat, 17 Mar 2001 11:06:50 +0000 |
| Subject: | Re: Associative vs normal arrays | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-44380@lists.php.net to get a copy of this message | ||
what do you mean? all arrays are associative. even the simple
$arr = array(1,2,3,4,5); has key/value pairs associated with it..
similar to doing: $arr = array(0=>1,1=>2,2=>3,3=>4,4=>5);
--- Joe <joe@mail.nitewaryr.com> wrote:
> Is there a way to determine if an array is associative or not? Maybe
> something similar to the is_array() function ??
>
> Thanks,
>
> JOE
>
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/