I have an array
$array = array('key1' => null, 'key2' => null, 'key3' => null, 'key4' => null);
i would like to determine if all the array keys have empty values if so then return false. the above example should return false as it does not have any value. but if one or more keys have any values then it should return true for example the below example is true.
$array = array('value1', 'key2' => value2, 'value3', 'key4' => value4);
Array ( [0] => key1 [1] => key2 [2] => key3 [3] => key4 )andArray ( [0] => key1 [key2] => value2 [1] => key3 [key4] => value4 )respectively.