<?php
$x=15;
$y=30;
$z=$x+$y;
echo "Sum: ",$z;
?>
<?php
$x=10;
$y=20;
$z = $x + $y;
echo "Sum of x and y : ". $z;
?>
<?php
function addTwoNumbers($number1, $number2){
echo "Result: ",$number1+$number2;
}
addTwoNumbers(100, 125);
?>
<?php
$i = 1;
$j = 2;
$a = $i + $j;
echo "The sum of i and j will be" . $a;
?>