3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $mas1 = array(1,2);$mas2=array(22,29);//false var_dump(count(array_intersect($mas1, $mas2)) == 1 && !array_diff($mas1, $mas2));
Output for 4.3.0 - 7.1.7
bool(false)