i want to know if you can help me. i have this code

<?php
$myarray= array();

$myarray[0] = "";
$myarray[1] = false;

if($myarray){
   echo "this is true";
}else{
   echo "this is false";
}
?>


but when i run it, it still comes out true?

when i do this:
PHPCODE:
print_r(array_values($myarray));

it shows me this: Array ( [0] => )

how can i check or verify that an array has a value of zero or false then?