-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /usr/src/php/ext/phar/tests/
File Upload :
Current File : //usr/src/php/ext/phar/tests/032.phpt

--TEST--
Phar: require hash
--SKIPIF--
<?php if (!extension_loaded("phar")) die("skip"); ?>
--INI--
phar.require_hash=1
--FILE--
<?php

$pharconfig = 0;

require_once 'files/phar_oo_test.inc';

try {
Phar::loadPhar($fname);
} catch (Exception $e) {
echo $e->getMessage();
}

?>
===DONE===
--CLEAN--
<?php 
unlink(dirname(__FILE__) . '/files/phar_oo_test.phar.php');
__halt_compiler();
?>
--EXPECTF--

phar "%sphar_oo_test.phar.php" does not have a signature===DONE===

Copyright © 2017 || Recoded By Mr.Bumblebee