mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Remove most of the `===DONE===` tags and its variations. Keep `===DONE===` if the test output otherwise becomes empty. Closes GH-4872.
15 lines
262 B
PHP
15 lines
262 B
PHP
--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'));
|
|
|
|
?>
|
|
--EXPECT--
|
|
bool(true)
|
|
bool(false)
|