文字列「0」はnullに等しくなく、int0はnullに等しい
$a = null; $b = "0"; if ($a < $b) { echo "1"; } else { echo "2"; } // 输出1