PHP - greater than or equal to: >=

greater than or equal to operator is a logical operator that is used to compare two numbers.

>=

Description

par1 >= par2
Used keywords: >=

Input


Output

Note: it works over all types of numbers.

Examples

PHP

greater than or equal to the possible of use:
$a = 4 >= 2;         // a = true
if ( $x >= 12 )
   while ( $y >= 0 )  
      --$y;

PHP

even one example in what situations we can use the operation greater than or equal to:
$x >= (double)$y / 5
2 >= f(0xAF)
($j + 8) >= 3

PHP

Other pieces of example codes:
0xff >= $y

you can find it in the following collections: relational operators
Languages: en hu cz sk