<?php
$x = 10;
$y = 20;
echo “before swapping, number are: ”;
echo $x;
echo “ ”;
echo $y:
echo “\n”
/*swapping*/
$x = $x + $y;
$y = $x + $y;
echo “<Br> After swapping, numbers are: ”;
echo “ ”
echo $y;
?>