3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = ['a', 'b', 'c', 'd']; $b = ['b','x']; var_dump(in_array($b, $a)); var_dump(array_intersect($a,$b));
Output for 5.6.0 - 7.3.0alpha1
bool(false) array(1) { [1]=> string(1) "b" }