3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = [ 'id' => 1, 'field' => 2, ]; var_dump(array_intersect($arr,['id'=>'ololo']));
Output for 5.6.30
array(0) { }