Answers for "how to check if array is associative array"

PHP
1

php check array is not associative

count(array_filter(array_keys($array), 'is_string')) === 0
Posted by: Guest on September-03-2020

Code answers related to "how to check if array is associative array"

Browse Popular Code Answers by Language