3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a1 = array ("127", "10", "12"); $a2 = array ("127", "20", "12", "11"); $fu = array_intersect_assoc($a1, $a2); for($i=0; $i < count($fu); $i++) { if (isset($fu[$i])) { print "ye"; } } ?>
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
ye