3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr1 = [22068, 22067]; $arr2 = [22068, 22066]; $arr = array_diff($arr1, $arr2); var_dump($arr);
based on TgBP3
Output for 5.6.0 - 7.3.0alpha1
array(1) { [1]=> int(22067) }