2 /* Prototype : bool array_key_exists(mixed $key, array $search)
3 * Description: Checks if the given key or index exists in the array
4 * Source code: ext/standard/array.c
5 * Alias to functions: key_exists
9 * Test basic functionality of array_key_exists()
12 echo "*** Testing array_key_exists() : basic functionality ***\n";
16 $search = array('one', 'key' => 'value', 'val');
17 var_dump(array_key_exists($key1, $search));
18 var_dump(array_key_exists($key2, $search));