File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ $phar->extractTo(dirname(__FILE__) . '/extract2', 'mount2');
23
23
$ phar ->extractTo (dirname (__FILE__ ) . '/extract2 ' );
24
24
$ out = array ();
25
25
26
- foreach (new RecursiveIteratorIterator (new RecursiveDirectoryIterator (dirname (__FILE__ ) . '/extract ' , 0x00003000 ), RecursiveIteratorIterator::CHILD_FIRST ) as $ path => $ file ) {
26
+ foreach (new RecursiveIteratorIterator (new RecursiveDirectoryIterator (dirname (__FILE__ ) . '/extract2 ' , 0x00003000 ), RecursiveIteratorIterator::CHILD_FIRST ) as $ path => $ file ) {
27
27
$ extracted [] = $ path ;
28
28
}
29
29
@@ -51,10 +51,10 @@ $dir = dirname(__FILE__) . '/extract1/';
51
51
@rmdir ($ dir );
52
52
?>
53
53
--EXPECTF--
54
- %sextract %cfile1.txt
55
- %sextract %cfile2.txt
56
- %sextract %cone
57
- %sextract %csubdir
58
- %sextract %csubdir%cectory
59
- %sextract %csubdir%cectory%cfile.txt
54
+ %sextract2 %cfile1.txt
55
+ %sextract2 %cfile2.txt
56
+ %sextract2 %cone
57
+ %sextract2 %csubdir
58
+ %sextract2 %csubdir%cectory
59
+ %sextract2 %csubdir%cectory%cfile.txt
60
60
===DONE===
You can’t perform that action at this time.
0 commit comments