3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = [1,2,3]; $b = [3,1,2]; var_dump(array_diff($a, $b)); var_dump(array_diff($b, $a)); var_dump($b == $a); var_dump($b === $a);
based on 92Lav
Output for 5.5.0 - 7.3.0beta1
array(0) { } array(0) { } bool(false) bool(false)