Is there any function available in PHP to check whether an array is empty or how can I do this without using loop?
For example: $b = array('key1' => '', 'key2' => '', 'key3' => '', 'key4' => '');
How can I check array $b contains empty values without using a loop?