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