PHP交换两个值 By Fyn on 2020-04-152020-04-15Leave a Comment$a = 1; $b = 2; list($a, $b) = array($b, $a); [$a, $b] = [$b, $a];