Arithmetic operators in PHP

In PHP, Mathematical operators preform simple math calculations. The five mathematical operators are multiplication (*), division (/), subtraction (-),Modulus (%) and addition (+).

Sum of two Numbers using PHP
<?php
$a = 8;
$b = 4;
echo $a+$b;
?>

Output : 12