arrayObject_offsetExists_nullcheck.phpt   [plain text]


--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)