1--TEST-- 2Test function key_exists() by calling it with its expected arguments 3--CREDITS-- 4Francesco Fullone ff@ideato.it 5#PHPTestFest Cesena Italia on 2009-06-20 6--FILE-- 7<?php 8echo "*** test key_exists() by calling it with its expected arguments ***\n"; 9$a = array('bar' => 1, 'foo' => array('bar' => 2, 'baz' => 3)); 10var_dump(key_exists('baz', $a)); 11var_dump(key_exists('baz', $a['foo'])); 12?> 13--EXPECT-- 14*** test key_exists() by calling it with its expected arguments *** 15bool(false) 16bool(true) 17