--- 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.

Chris

=====
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/

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

Reply via email to