mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
Fixed bug #63184 test (ext/spl/tests/RecursiveDirectoryIterator_getSubPathname_basic.phpt failed)
This commit is contained in:
parent
c95fd5f758
commit
139ac42bec
@ -17,6 +17,7 @@ $iterator = new RecursiveDirectoryIterator(__DIR__ . DIRECTORY_SEPARATOR . $dept
|
||||
$it = new RecursiveIteratorIterator($iterator);
|
||||
|
||||
$list = [];
|
||||
$it->rewind(); //see https://bugs.php.net/bug.php?id=62914
|
||||
while($it->valid()) {
|
||||
$list[] = $it->getSubPathname();
|
||||
$it->next();
|
||||
@ -46,7 +47,6 @@ rrmdir($targetDir);
|
||||
--EXPECTF--
|
||||
.
|
||||
..
|
||||
..
|
||||
depth1%c.
|
||||
depth1%c..
|
||||
depth1%cdepth2%c.
|
||||
|
Loading…
Reference in New Issue
Block a user