1 | <?php |
||
20 | class ArrayUtils |
||
21 | { |
||
22 | /** |
||
23 | * Recursively checks that passed array is associative or not |
||
24 | * |
||
25 | * @param array $array input array |
||
26 | * @param bool $recursiveCheck whether to perform recursive check or not |
||
27 | * |
||
28 | * @return bool |
||
29 | */ |
||
30 | public static function isArrayAssoc(array $array, $recursiveCheck = true) |
||
43 | } |