PHP program to find the addition of Two number

In this tutorial, you will write a PHP program to find the sum of the addition of two numbers. For example, the Addition of 5 and 10 is 15.

Sum of two number


<?php

$first_number = 10;
$second_number = 20;

$sum = $first_number + $second_number;
echo "addition of two number are:$sum"
?>

output

addition of two number are:30