PHP » Operators » <

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

Less than.

This comparison operator returns TRUE if the first expression is less than the second.

Examples

Code:
<?php

if (5 < 6)
   print "5 is less than 6";

?>
Output:
5 is less than 6
Explanation:

Two numbers are compared.