In the below code, why am I getting Given Array is not empty
while all keys has no values? How can I check if an associated array like this is empty or not?
<?PHP
$args = array(
"A" => [],
"B" => [],
"C" => [],
"D" => [],
"E" => [],
"F" => [],
"G" => [],
"H" => []
);
if(!empty($args))
echo "Given Array is not empty";
if(empty($args))
echo "Given Array is empty";