Is it possible to check in one go if multiple keys exists in an array, instead of using the array_key_exists function multiple times? Or, can this be achieved another way?
<?php
$search_array = array('first' => 1, 'second' => 4);
if(array_key_exists('first','second' $search_array))//Do something like this.
{
echo "The 'first' element is in the array";
}
?>