has_keys()
has_keys(array $array, array $keys) : boolean
Checks to see if the array contains the keys in the array keys.
Parameters
array |
$array |
Array |
array |
$keys |
Keys to be in Array |
Returns
boolean
— $result true if the array has all the keys, otherwise false.