Annotation of embedaddon/php/ext/standard/tests/array/key_exists_basic.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Test function key_exists() by calling it with its expected arguments
3: --CREDITS--
4: Francesco Fullone ff@ideato.it
5: #PHPTestFest Cesena Italia on 2009-06-20
6: --FILE--
7: <?php
8: echo "*** test key_exists() by calling it with its expected arguments ***\n";
9: $a = array('bar' => 1);
10: var_dump(key_exists('bar', $a));
11: var_dump(key_exists('foo', $a));
12: --EXPECTF--
13: *** test key_exists() by calling it with its expected arguments ***
14: bool(true)
15: bool(false)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>