--- cpaul <[EMAIL PROTECTED]> wrote:
> Is there a method to test whether or not an array is associative?
> I'm trying to make a function that can deal with whatever type of
> array (associative or numeric) that is thrown at it.

It's all the same. An enumerated array is really an associative array where
every key is an integer. Just treat them all like associative arrays, and
you'll be fine.


Become a better Web developer with the HTTP Developer's Handbook

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to