> --- cpaul <[EMAIL PROTECTED]> wrote: > > Is there a method to test whether or not an array is associative?
[EMAIL PROTECTED] wrote: > 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. > ok thanks - that makes sense. sort of doesn't solve my problem, because if my function receives an enumerated array, i want it to treat it as an associative array, using the value as the key. the array index is not useful to me in this situation. is there really no way to tell how an array was defined? thanks for your time -- chris paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php