Relational Operators summary table : Logical Operators « Operator « PHP

Relational Operators summary table


Operation       Operator            Example
Less than       <                   $a < $b

Less than       <=                  $a <= $b
or equal to

Greater than    >                   $a > $b

Greater than    >=                  $a >= $b 
or equal to

Related examples in the same category

1.Logical Operators in Order of Precedence
2.Use the boolean compare operators
3.Greater than
4.Less than
5.Greate and equal
6.Less than and equal
7.Not equal: !=
8.Logical Operators
9.Logic Operators in PHP
10.Or operator
11.Leap Year Determination
12.Negation operator
13.The not-equals operator
14.Relational Operators in action