Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php check array is not associative

count(array_filter(array_keys($array), 'is_string')) === 0
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #check #array #associative
ADD COMMENT
Topic
Name
2+8 =