mirror of
https://github.com/php/php-src.git
synced 2024-10-01 23:06:11 +00:00
10 lines
211 B
PHP
10 lines
211 B
PHP
--TEST--
|
|
SPL: ArrayObject::offsetExists() should return true for element containing NULL
|
|
--FILE--
|
|
<?php
|
|
$ao = new ArrayObject(array('foo' => null));
|
|
var_dump($ao->offsetExists('foo'));
|
|
|
|
?>
|
|
--EXPECTF--
|
|
bool(true)
|