php-src/ext/standard/tests/array/bug20865.phpt
2002-12-06 17:46:26 +00:00

12 lines
183 B
PHP

--TEST--
Bug #20865 (array_key_exists and NULL key)
--FILE--
<?php
$ta = array(1, 2, 3);
$ta[NULL] = "Null Value";
var_dump(array_key_exists(NULL, $ta));
?>
--EXPECT--
bool(true)