xref: /PHP-8.1/ext/phar/tests/phar_oo_nosig.phpt (revision 74859783)
1--TEST--
2Phar::getSignature() no signature
3--EXTENSIONS--
4phar
5--INI--
6phar.require_hash=0
7--FILE--
8<?php
9
10require_once 'files/phar_oo_test.inc';
11
12$phar = new Phar($fname);
13var_dump($phar->getSignature());
14?>
15--CLEAN--
16<?php
17unlink(__DIR__ . '/files/phar_oo_test.phar.php');
18__halt_compiler();
19?>
20--EXPECT--
21bool(false)
22