php-src/ext/spl/tests/bug40442.phpt
2007-04-06 17:54:22 +00:00

13 lines
235 B
PHP
Executable File

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