mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_arrayobject_and_arrayiterator_with_objects This also moves tests into a subfolder.
11 lines
211 B
PHP
11 lines
211 B
PHP
--TEST--
|
|
SPL: ArrayObject::offsetExists() should return true for element containing NULL
|
|
--FILE--
|
|
<?php
|
|
$ao = new ArrayObject(array('foo' => null));
|
|
var_dump($ao->offsetExists('foo'));
|
|
|
|
?>
|
|
--EXPECT--
|
|
bool(true)
|