dis-bench / src /php /php-src /ext /phar /tests /032.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
394 Bytes
--TEST--
Phar: require hash
--EXTENSIONS--
phar
--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(__DIR__ . '/files/032.phar.php');
__halt_compiler();
?>
--EXPECTF--
phar "%s032.phar.php" does not have a signature===DONE===