3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr1 = array('yo', 'yo1', 'yo3'); $arr2 = array('yo1', 'yo3'); var_dump(array_diff($arr1,$arr2));
Output for 4.3.0 - 7.1.0
array(1) { [0]=> string(2) "yo" }