We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 784e4bc commit 8db8ca9Copy full SHA for 8db8ca9
tests/bug_gh12661.phpt
@@ -14,7 +14,7 @@ $zip = new ZipArchive();
14
$zip->open($file, ZipArchive::CREATE | ZipArchive::OVERWRITE);
15
$zip->addGlob(__FILE__, 0, ['remove_path' => 'bug_']); // unchanged (bug is not a prefix)
16
$zip->addGlob(__FILE__, 0, ['remove_path' => dirname(__DIR__)]);
17
-verify_entries($zip, [__FILE__, 'tests/' . basename(__FILE__)]);
+verify_entries($zip, [__FILE__, basename(__DIR__) . DIRECTORY_SEPARATOR . basename(__FILE__)]);
18
$zip->close();
19
20
?>
0 commit comments