<?php $in = [ [1, 2], [1, 1], [2, 1] ]; foreach ($in as $pair) { list($a, $b) = $pair; var_dump([$a, $b, $a <=> $b]); }
You have javascript disabled. You will not be able to edit any code.