1--TEST--
2Phar: tar archive, require_hash=1, OpenSSL hash
3--EXTENSIONS--
4phar
5zlib
6openssl
7--INI--
8phar.readonly=1
9phar.require_hash=1
10--FILE--
11<?php
12try {
13    $phar = new PharData(__DIR__ . '/files/P1-1.0.0.tgz');
14} catch (Exception $e) {
15    echo $e->getMessage()."\n";
16}
17
18?>
19===DONE===
20--EXPECT--
21===DONE===
22