3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = [1 => 'a', 2=> 'b', 3 => 'c']; $b = [1, 3]; var_dump(array_intersect_ukey($a, $b, function ($item, $c) { var_dump($item); var_dump($c); var_dump('-'); return $item === $c; }));