arithmetic operators in php
<?php
// arithmetic operator
$x = 3;
$y = 6;
$z = $x+$y; //addition
$a =$x-$y; //substraction
$b = $x*$y; //multiplication
$c =$x/$y; //devide
$d=$x**$y; //exponential
$e = $x%$y; //modulus
echo "Addition: $z";
echo "<br>Substraction: $a";
echo "<br>Multiplication: $b";
echo "<br>Devision: $c";
echo "<br>Exponential: $d";
echo "<br>Modulus: $e";
?>