/ Published in: PHP
like arraykeyexists but accepts an array of key values to check
Expand |
Embed | Plain Text
function array_keys_exist($keyArray, $array) { foreach($keyArray as $key) { return false; } return true; }
Comments
Subscribe to comments
You need to login to post a comment.

short, sweet, to the point, and has a valid everyday use.. nice.