mirror of
https://github.com/php/php-src.git
synced 2024-10-19 07:22:40 +00:00
12 lines
183 B
Plaintext
12 lines
183 B
Plaintext
|
--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)
|