PHP: 比較演算子 – Manual

$a == $b 等しい 型の相互変換をした後で $a が $b に等しい時に TRUE。

$a === $b 等しい $a が $b に等しく、および同じ型である場合に TRUE 。

$a != $b 等しくない 型の相互変換をした後で $a が $b に等しくない場合に TRUE。

$a <> $b 等しくない 型の相互変換をした後で $a が $b に等しくない場合に TRUE。

$a !== $b 等しくない $a が $b と等しくないか、同じ型でない場合に TRUE 。

$a < $b より少ない $a が $b より少ない時に TRUE。

$a > $b より多い $a が $b より多い時に TRUE。

$a <= $b より少ないか等しい $a が $b より少ないか等しい時に TRUE。

$a >= $b より多いか等しい $a が $b より多いか等しい時に TRUE。

引用元: PHP: 比較演算子 – Manual.

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny