xref: /PHP-8.1/ext/phar/tests/bug75102.phpt (revision 74859783)
1--TEST--
2Bug #75102 (`PharData` says invalid checksum for valid tar)
3--EXTENSIONS--
4phar
5--FILE--
6<?php
7$phar = new PharData(__DIR__ . '/bug75102.tar');
8var_dump(file_get_contents($phar['test.txt']->getPathName()));
9?>
10--EXPECT--
11string(9) "yada yada"
12