xref: /PHP-7.0/ext/phar/tests/phar_oo_nosig.phpt (revision 16b4d8e0)
1--TEST--
2Phar::getSignature() no signature
3--SKIPIF--
4<?php if (!extension_loaded("phar")) die("skip"); ?>
5<?php if (!extension_loaded("spl")) die("skip SPL not available"); ?>
6--INI--
7phar.require_hash=0
8--FILE--
9<?php
10
11require_once 'files/phar_oo_test.inc';
12
13$phar = new Phar($fname);
14var_dump($phar->getSignature());
15?>
16===DONE===
17--CLEAN--
18<?php
19unlink(dirname(__FILE__) . '/files/phar_oo_test.phar.php');
20__halt_compiler();
21?>
22--EXPECT--
23bool(false)
24===DONE===
25