note 92892 deleted from function.is-array by danbrown

From: Date: Thu, 13 Aug 2009 17:24:31 +0000
Subject: note 92892 deleted from function.is-array by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-159449@lists.php.net to get a copy of this message
Note Submitter: romaninsh at gmail dot com ---- Correct me if I'm wrong. Shortest way to check if array is associative (PHP5+): isAssoc($arr) { return $arr != array_values($arr); };

« previous php.notes (#159449) next »