3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr1 = array('12' => '12', '13'=>'13'); $arr2 = array('12','13'); var_dump(array_diff($arr1,$arr2));
Output for 4.3.0 - 7.2.0
array(0) { }