Answers for "php check array type associative or numeric"

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 "php check array type associative or numeric"

Browse Popular Code Answers by Language