How do operators work in PHP?

Operators can be grouped according to the number of values they take. Unary operators take only one value, for example ! (the logical not operator) or ++ (the increment operator). Binary operators take two values, such as the familiar arithmetical operators + (plus) and - (minus), and the majority of PHP operators fall into this category.
For More Information Please Refer:
https://www.php.net/manual/en/language.operators.php
You May Also Like to Read: