Merge branch 'failed-arrayaccess-test' into PHP-5.3

* failed-arrayaccess-test:
  Added failing test for ArrayObject::offsetExists().
This commit is contained in:
Shein Alexey 2012-03-27 19:00:05 +05:00
commit 8c44c85b06

View file

@ -0,0 +1,10 @@
--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)