Sunday, March 16, 2008

PHP Comparison Operators

Comparison Operator are use to compare between 2 variable. It will return true of false value.

Below are the common comparison operator use like other languages use.

Operator

Description

==

is equal to

!=

is not equal

>

is greater than

<

is less than

>=

is greater than or equal to

<=

is less than or equal to

No comments: