3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a1 = array('a', 'b', 'c'); $a2 = array('b', 'a', 'c'); sort($a1); sort($a2); echo $a1==$a2 ? 'y' : 'n';
Output for 4.3.0 - 7.1.0
y