mirror of
https://github.com/php/php-src.git
synced 2026-03-25 16:52:18 +01:00
Remove most of the `===DONE===` tags and its variations. Keep `===DONE===` if the test output otherwise becomes empty. Closes GH-4872.
23 lines
304 B
PHP
23 lines
304 B
PHP
--TEST--
|
|
SPL: ArrayIterator with NULL key
|
|
--FILE--
|
|
<?php
|
|
|
|
$ar = new ArrayIterator(array(NULL=>NULL));
|
|
@var_dump($ar);
|
|
var_dump($ar->getArrayCopy());
|
|
|
|
?>
|
|
--EXPECTF--
|
|
object(ArrayIterator)#%d (1) {
|
|
["storage":"ArrayIterator":private]=>
|
|
array(1) {
|
|
[""]=>
|
|
NULL
|
|
}
|
|
}
|
|
array(1) {
|
|
[""]=>
|
|
NULL
|
|
}
|