<?php $x = ['1', '2']; $y = ['2', '1']; $z = ['1', '2', '4']; $n = [1, 2]; echo sort($x) === sort($y) ? 'y1' : 'n1'; echo sort($x) === sort($z) ? 'y2' : 'n2'; echo sort($x) === sort($n) ? 'y3' : 'n3';
You have javascript disabled. You will not be able to edit any code.