public static function isAssociativeArray (array $aArray)
    {
        foreach (array_keys($aArray) as $key) {
            if (! is_int($key)) {
                return true;
            }
        }
        return false;
    }
public static function isAssociativeArray (array $aArray)
    {
        foreach (array_keys($aArray) as $key) {
            if (! is_int($key)) {
                return true;
            }
        }
        return false;
    }
public static function isAssociativeArray ( array $ aArray ) { foreach ( array_keys ( $ aArray ) as $ key ) { if ( ! is_int ( $ key ) ) { return true ; } } return false ; }
Returns TRUE iff the specified array is associative.
If the specified array is empty, then return FALSE.

http://stackoverflow.com/questions/173400/php-arrays-a-good-way-to-check-if-an-array-is-associative-or-sequential

@param array $aArray
@return bool true ssi iff the specified array is associative
Returns TRUE iff the specified array is associative . If the specified array is empty then return FALSE .