Added test case for bug #20865.

This commit is contained in:
Ilia Alshanetsky 2002-12-06 17:46:26 +00:00
parent ed7c3bfe0e
commit 3bc8512cf0

View File

@ -0,0 +1,11 @@
--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)