1--TEST-- 2Phar: phpinfo display 2 3--EXTENSIONS-- 4phar 5zlib 6bz2 7--SKIPIF-- 8<?php 9$arr = Phar::getSupportedSignatures(); 10if (in_array("OpenSSL", $arr)) die("skip openssl support enabled"); 11?> 12--INI-- 13phar.readonly=1 14phar.require_hash=1 15phar.cache_list= 16--FILE-- 17<?php 18phpinfo(INFO_MODULES); 19?> 20--EXPECTF-- 21%a 22Phar 23 24Phar: PHP Archive support => enabled 25Phar API version => 1.1.1 26Phar-based phar archives => enabled 27Tar-based phar archives => enabled 28ZIP-based phar archives => enabled 29gzip compression => enabled 30bzip2 compression => enabled 31OpenSSL support => disabled (install ext/openssl) 32 33 34Phar based on pear/PHP_Archive, original concept by Davey Shafik. 35Phar fully realized by Gregory Beaver and Marcus Boerger. 36Portions of tar implementation Copyright (c) %d-%d Tim Kientzle. 37Directive => Local Value => Master Value 38phar.cache_list => no value => no value 39phar.readonly => On => On 40phar.require_hash => On => On 41%a 42