blob: 7114edac9fa62cfb75f665987dbc0f975ae16e03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--TEST--
Bug #28822 (ArrayObject::offsetExists() works inverted)
--FILE--
<?php
$array = new ArrayObject();
$array->offsetSet('key', 'value');
var_dump($array->offsetExists('key'));
var_dump($array->offsetExists('nokey'));
?>
===DONE===
--EXPECT--
bool(true)
bool(false)
===DONE===
|