Permalink
Browse files

Merge branch 'PHP-5.4'

  • Loading branch information...
2 parents 0a3b6e4 + 139ac42 commit a81d4310682f879aad5a156f8ac42e8080306082 @laruence laruence committed Oct 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 ext/spl/tests/RecursiveDirectoryIterator_getSubPathname_basic.phpt
@@ -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.

0 comments on commit a81d431

Please sign in to comment.