3 ms·Since PHP 7.1 you can write [$a, $b] = [$b, $a];by tored 5y agoSince PHP 7.1 you can write [$a, $b] = [$b, $a];