1.Write a PHP script to swap two numbers
< ? php
$a = 45;
$b = 78;
echo "Befor swapping:
";
echo "a =".$a." b=".$b;
// Swapping Logic
$third = $a;
$a = $b;
$b = $third;
echo "
After swapping:
";
echo "a =".$a." b=".$b;
? >