php-src/ext/spl/tests/bug40442.phpt
2012-10-10 10:27:49 +08:00

13 lines
235 B
PHP

--TEST--
Bug #40442 (ArrayObject::offsetExists broke in 5.2.1, works in 5.2.0)
--FILE--
<?php
$a = new ArrayObject();
$a->offsetSet('property', 0);
var_dump($a->offsetExists('property'));
?>
===DONE===
--EXPECT--
bool(true)
===DONE===