blob: 5710f4fca53c988089a6eced358d23bb00d9bb65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
--TEST--
Phar::getSignature() no signature
--SKIPIF--
<?php if (!extension_loaded("phar")) die("skip"); ?>
--INI--
phar.require_hash=0
--FILE--
<?php
require_once 'files/phar_oo_test.inc';
$phar = new Phar($fname);
var_dump($phar->getSignature());
?>
===DONE===
--CLEAN--
<?php
unlink(dirname(__FILE__) . '/files/phar_oo_test.phar.php');
__halt_compiler();
?>
--EXPECT--
bool(false)
===DONE===
|