<?php function func($x, $y) { echo " until change: $x, $y"."\n"; $num=$x; $x=$y; $y=$num; echo "result: $x, $y"; } func(2,1); \\ result-- until change: 2----1, result:1-----2
Pro tip: use ```triple backticks around text``` to write in code fences