Operators in PHP
Arithmetic Operators
+ - / % **(exponential)
<?php
$a = 2**3; // 2^3 = 8
?>
Assignment Operators
= += -= /= %=
Comparison Operators
== === != !== > < >= <=
Increment/Decrement Operator
$a++ $a--
Logical Operators
and OR && or OR || xor !(not)
XOR -...
mazharsolkar.hashnode.dev2 min read