若变量存在且其值为""、0、“0”、NULL、、FALSE、 array()、$var; 以及没有任何属性的对象,则返回 TURE
1、‘’与0
$str = '';
if (!empty($str)){
echo '不为空';
}else if($str == 0){
echo 0
}else{
echo ‘其他’
}
echo 0;
//''==0:true
// '' === 0 false
0.00 与 string 的 0.00