mirror of
https://github.com/php/php-src.git
synced 2024-10-20 07:53:58 +00:00
19 lines
305 B
Plaintext
19 lines
305 B
Plaintext
![]() |
--TEST--
|
||
|
SPL: RecursiveCachingIterator and uninitialized getChildren()
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
$it = new RecursiveCachingIterator(new RecursiveArrayIterator(array(1,2)));
|
||
|
|
||
|
var_dump($it->getChildren());
|
||
|
$it->rewind();
|
||
|
var_dump($it->getChildren());
|
||
|
|
||
|
?>
|
||
|
===DONE===
|
||
|
<?php exit(0); ?>
|
||
|
--EXPECTF--
|
||
|
NULL
|
||
|
NULL
|
||
|
===DONE===
|