swap two variables in PHP

PHP

🤖 Code Explanation

The above code swaps the values of the variables $a and $b. The value of $a is assigned to $temp, then the value of $b is assigned to $a, and finally the value of $temp is assigned to $b.

Download SpellBox today