xref: /PHP-7.3/ext/phar/tests/phar_oo_nosig.phpt (revision 17ccbeec)
1--TEST--
2Phar::getSignature() no signature
3--SKIPIF--
4<?php if (!extension_loaded("phar")) die("skip"); ?>
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===DONE===
16--CLEAN--
17<?php
18unlink(dirname(__FILE__) . '/files/phar_oo_test.phar.php');
19__halt_compiler();
20?>
21--EXPECT--
22bool(false)
23===DONE===
24