Let\'s make some examples:
array(\"Paul\", \"\", \"Daniel\") // false array(\"Paul\", \"Daniel\") // true array(\"\",\"\") // false
What\'s
function testEmpty($array) { foreach ($array as $element) { if ($element === '') return false; } return true; }
Please check out the comments down below for more information.