PHP » Operators » >

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

Greater than.

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

Examples

Code:
<?php

if (6 > 5)
   print "6 is greater than 5";

?>
Output:
6 is greater than 5
Explanation:

Two numbers are compared.