mirror of
https://github.com/php/php-src.git
synced 2024-12-12 19:33:31 +08:00
13 lines
235 B
PHP
Executable File
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===
|