Write a php program to perform sum of two numbers

Write a php program to perform sum of two numbers. The program will help you to print the addition of two numbers in php. This program will print the addition of two numbers using the third variable in php language for beginners

 <?php 
$x=10; 
$y=10; 
$z=$x+$y; 
echo "result is",$z; 
?> 

Output:

result is 20