diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2002-12-06 17:46:26 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2002-12-06 17:46:26 +0000 |
commit | 3bc8512cf058cde08108a15287fde720772fbdd3 (patch) | |
tree | c518cd1c0b769e02aa615ea299d818f16678650d | |
parent | ed7c3bfe0e656c84d27fb63130da42247a3a6555 (diff) | |
download | php-git-3bc8512cf058cde08108a15287fde720772fbdd3.tar.gz |
Added test case for bug #20865.
-rw-r--r-- | ext/standard/tests/array/bug20865.phpt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ext/standard/tests/array/bug20865.phpt b/ext/standard/tests/array/bug20865.phpt new file mode 100644 index 0000000000..f1edbabab5 --- /dev/null +++ b/ext/standard/tests/array/bug20865.phpt @@ -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) |