xref: /PHP-7.4/ext/phar/tests/bug75102.phpt (revision 8588ae72)
1--TEST--
2Bug #75102 (`PharData` says invalid checksum for valid tar)
3--SKIPIF--
4<?php
5if (!extension_loaded('phar')) die('skip phar extension not available');
6?>
7--FILE--
8<?php
9$phar = new PharData(__DIR__ . '/bug75102.tar');
10var_dump(file_get_contents($phar['test.txt']->getPathName()));
11?>
12--EXPECT--
13string(9) "yada yada"
14