Operators in PHP With Example
Variables are simply containers for information. In order to do anything useful with them, you need Operators . Operators are symbols that tell the PHP processor
to perform certain actions. For example, the addition(+) symbol is an Operators
that tells PHP to add two variables or values, while the greater-than(>) symbol
is an Operators that tells PHP to compare two values.
PHP supports more than 50 such Operators , ranging from operators for arithmetical
operations to operators for logical comparison and bitwise calculations.
This section discusses the most commonly used Operators .