1--TEST--
2Test array_diff_key() : basic functionality
3--FILE--
4<?php
5/*
6* proto array array_diff_key(array arr1, array arr2 [, array ...])
7* Function is implemented in ext/standard/array.c
8*/
9$array1 = array('blue' => 1, 'red' => 2, 'green' => 3, 'purple' => 4);
10$array2 = array('green' => 5, 'blue' => 6, 'yellow' => 7, 'cyan' => 8);
11var_dump(array_diff_key($array1, $array2));
12?>
13--EXPECT--
14array(2) {
15  ["red"]=>
16  int(2)
17  ["purple"]=>
18  int(4)
19}
20