1--TEST--
2Test array_key_exists() function : basic functionality
3--FILE--
4<?php
5/*
6 * Test basic functionality of array_key_exists()
7 */
8
9echo "*** Testing array_key_exists() : basic functionality ***\n";
10
11$key1 = 'key';
12$key2 = 'val';
13$search = array('one', 'key' => 'value', 'val');
14var_dump(array_key_exists($key1, $search));
15var_dump(array_key_exists($key2, $search));
16
17echo "Done";
18?>
19--EXPECT--
20*** Testing array_key_exists() : basic functionality ***
21bool(true)
22bool(false)
23Done
24