SyntaxFix
Write A Post
Hire A Developer
Questions
function is_array_assoc($foo) { if (is_array($foo)) { return (count(array_filter(array_keys($foo), 'is_string')) > 0); } return false; }