summaryrefslogtreecommitdiff
path: root/ext/spl/tests/bug40442.phpt
blob: fbeb22d2b3227830dcbfe4d2ab32e499decfb133 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--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===