Return to arrayObject_offsetExists_nullcheck.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / spl / tests |
php 5.4.3+patches
--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)