note 78702 deleted from function.array-key-exists by felipe

From: Date: Sun, 16 Dec 2007 11:45:34 +0000
Subject: note 78702 deleted from function.array-key-exists by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-133674@lists.php.net to get a copy of this message
Note Submitter: albertid Reason: 1 ---- Here my proposal for an "array_keys_exist": function array_keys_exist($keys, $array) { return (sizeof(array_diff(array_keys($array), $keys)) == 0); }

« previous php.notes (#133674) next »