3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array('0', '1', '3'); $b = array('0', '2', '0'); var_dump(array_intersect($a, $b));
Output for 4.3.0 - 7.1.0
array(1) { [0]=> string(1) "0" }