mirror of
https://github.com/php/php-src.git
synced 2024-12-03 23:05:57 +08:00
13 lines
235 B
PHP
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===
|