mirror of
https://github.com/php/php-src.git
synced 2024-12-17 05:50:14 +08:00
25 lines
467 B
PHP
25 lines
467 B
PHP
--TEST--
|
|
Phar::getSignature() no signature
|
|
--SKIPIF--
|
|
<?php if (!extension_loaded("phar")) die("skip"); ?>
|
|
<?php if (!extension_loaded("spl")) die("skip SPL not available"); ?>
|
|
--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===
|