The arithmetic operators in PHP (+,-,*,/,%,**)

The arithmetic operators, same as in other programing langauges, are the most commonly used group of operators in the PHP. We can say that all the mathematical operations performed...

The assignment operators in PHP (=,+=,-=,*=,/=,%=)

The assignment operators are to assign values to variables. The basic assignment operator is “=” sign, which can be used alone or in combination with a...

The bitwise operators in PHP (&,|,^,~,<<,>>)

The bitwise operators are used to evaluate variables value on a bit level, or in other words they are used to compare variables bit by bit. The bitwise op...

The comparison operators in PHP (==,===,!=,<>,!==,<,>,<=,>=)

The comparison operators are used to compare two or more variables. Comparison itself is performed numerically, for instance if a string is compared to another string, bo...

The error control operator in PHP (@)

The error operator is a PHP operator used in error diagnostics and reports.  An error control operator supported by PHP is the

The execution operator in PHP (``)

The execution operator in PHP (``) is used to execute shell commands, or those commands that operate or can approach client's operating structures (i....

The increment and decrement operator in PHP (++,--)

As most of other operator groups in PHP, these increment and decrement operators are also self-explanatory;...

The logical operators in PHP (&&,||,and,or,xor,!)

The logical operators are used to evaluate Boolean result of two or more logical comparison. The conditional expressions sometimes may require a logical operator. The l...

The string operators in PHP (.,.=)

The string operators exist used to help the string manipulation. There are two string operators in PHP; the first one is used to concatenate two strings and is represented...

The array operators in PHP (+,==,===,!=,<>,!==)

The array operators are similar to comparison operators. That is they also use mo...