write a php program to swap two numbers using temporary variable

Solutions on MaxInterview for write a php program to swap two numbers using temporary variable by the best coders in the world

showing results for - "write a php program to swap two numbers using temporary variable"
Julián
14 May 2018
1<?php $a = 5; $b = 10; $temp = $a; $a = $b; $b = $temp; echo "after swapping"; echo "a =".$a." b=".$b; ?>