➤ The PHP arithmetic operators are used with numeric values to perform common arithmetical operations.
For instance:
$x = 100;
$y = 11;
• Addition (Sum of $x and $y)
echo $x + $y . "\n";
• Subtraction (Difference of $x and $y)
echo $x - $y . "\n";
• Multiplication (Product of $x and $y)
echo $x * $y . "\n";
• Division (Quotient of $x and $y)
echo $x / $y . "\n";
• Modulus (Remainder of $x divided by $y)
echo $x % $y . "\n";
• Exponentiation (Result of raising $x to the $y'th power)
echo $x ** $y . "\n";