3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = [ 'id' => 1, 'field' => 2, ]; var_dump(array_diff_key($arr,['id'=>'ololo']));
Output for 5.6.30
array(1) { ["field"]=> int(2) }