Operators
Arithmetic
$sum = 10 + 5;
$diff = 10 - 5;
$product = 10 * 5;
$quotient = 10 / 5;
$mod = 10 % 3;Comparison
== // equal (loose)
=== // identical (strict)
!= // not equal
!== // not identical
< > <= >=Logical
&& // and
|| // or
! // notNull Coalescing
$name = $_GET["name"] ?? "Guest";
$count = $count ?? 0;