PHP » Operators » <=

Syntax:
expression1 <= expression2
expression1
An expression.
expression2
Another expression to compare it to.

Less than or equal to.

This comparison operator returns TRUE if the first expression is less than, or equal to, the second.

Examples

Code:
<?php

if (5 <= 5)
   print "5 is less than or equal to 5";

?>
Output:
5 is less than or equal to 5
Explanation:

Two numbers are compared.