Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed bug #63184 test (ext/spl/tests/RecursiveDirectoryIterator_getSu…

…bPathname_basic.phpt failed)
  • Loading branch information...
commit 139ac42bec942639db2f52ae16700e491114c898 1 parent c95fd5f
Xinchen Hui laruence authored
2  ext/spl/tests/RecursiveDirectoryIterator_getSubPathname_basic.phpt
View
@@ -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.
Please sign in to comment.
Something went wrong with that request. Please try again.