Skip to content

Commit

Permalink
try Z for PHP < 5.5
Browse files Browse the repository at this point in the history
mcdruid committed Nov 24, 2024
1 parent ba360e0 commit 6b91932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Archive/Tar.php
Original file line number Diff line number Diff line change
@@ -240,7 +240,7 @@ public function __construct($p_tarname, $p_compress = null, $buffer_length = 512


if (version_compare(PHP_VERSION, "5.5.0-dev") < 0) {
$this->_fmt = "a100filename/a8mode/a8uid/a8gid/a12size/a12mtime/" .
$this->_fmt = "a100filename/a8mode/a8uid/a8gid/Z12size/a12mtime/" .
"a8checksum/a1typeflag/a100link/a6magic/a2version/" .
"a32uname/a32gname/a8devmajor/a8devminor/a131prefix";
} else {

0 comments on commit 6b91932

Please sign in to comment.