PHP Operators

Operators are catalysts of operations. In other words operators are signs that perform a special operation. For example + operator is used for adding values. PHP has many operators to perform different operations. Some of the operators are:

+      addition
       subtraction
*      multiplication
/      division
%    modulus or remainder
=     assignment
==   comparison
!=    not equals
.       concatenation/Combination
&&   logical AND
||     logical OR
XOR logical xor
<     less than
>     greater than
<=   less than, equal to
>=   greater than, equal to

Click here to read about PHP constants.