xref: /PHP-7.4/ext/spl/tests/bug40442.phpt (revision 610c7fbe)
1--TEST--
2Bug #40442 (ArrayObject::offsetExists broke in 5.2.1, works in 5.2.0)
3--FILE--
4<?php
5$a = new ArrayObject();
6$a->offsetSet('property', 0);
7var_dump($a->offsetExists('property'));
8?>
9===DONE===
10--EXPECT--
11bool(true)
12===DONE===
13