3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array(); $b = array(false, true, true, "Galamb vagyok."); if(reset($a) === reset($b)) { echo "[PHP is broken.] Array '\$a' and array '\$b' are equal."; } else { echo "[PHP works as expected.] Array '\$a' and array '\$b' are NOT equal."; }
based on lDkne
Output for 4.3.0 - 7.1.0
[PHP is broken.] Array '$a' and array '$b' are equal.