xref: /PHP-5.6/ext/standard/tests/array/bug20865.phpt (revision 3bc8512c)
1--TEST--
2Bug #20865 (array_key_exists and NULL key)
3--FILE--
4<?php
5	$ta = array(1, 2, 3);
6	$ta[NULL] = "Null Value";
7
8	var_dump(array_key_exists(NULL, $ta));
9?>
10--EXPECT--
11bool(true)
12