3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array1 = array(1,1,0,0); $array2 = array(true,0,false,1); $array1 = sort($array1); $array2 = sort($array2); echo ($array1 === $array2) ? 'yes' : 'no';
Output for 4.3.0 - 7.1.0
yes