mirror of
https://github.com/php/php-src.git
synced 2026-04-19 05:51:02 +02:00
PharData::extractTo fails for tarball created by BSD tar Phar did not know about PAX style global/file headers. Skip them, to be able to read the contents of those archives.
17 lines
252 B
PHP
17 lines
252 B
PHP
--TEST--
|
|
Bug #64343 (phar cannot open tars with pax headers)
|
|
--SKIPIF--
|
|
<?php if (!extension_loaded("phar")) die("skip"); ?>
|
|
--FILE--
|
|
<?php
|
|
|
|
echo "Test\n";
|
|
|
|
$phar = new PharData(__DIR__."/files/bug64343.tar");
|
|
|
|
?>
|
|
===DONE===
|
|
--EXPECT--
|
|
Test
|
|
===DONE===
|