3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = array(); $y = array(2, 4); echo var_dump(array_diff($x, array_keys($y)));
based on t1OTm
Output for 4.3.0 - 7.2.0
array(0) { }