mirror of
https://github.com/php/php-src.git
synced 2024-10-03 07:46:12 +00:00
13 lines
235 B
Plaintext
13 lines
235 B
Plaintext
|
--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===
|