
| Path : /usr/src/php/ext/spl/tests/ |
| Current File : //usr/src/php/ext/spl/tests/arrayObject_offsetExists_nullcheck.phpt |
--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)