diff options
Diffstat (limited to 'ext/phar/tests/phpinfo_001.phpt')
-rw-r--r-- | ext/phar/tests/phpinfo_001.phpt | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/ext/phar/tests/phpinfo_001.phpt b/ext/phar/tests/phpinfo_001.phpt index 7b31185827..f8d1f3eee1 100644 --- a/ext/phar/tests/phpinfo_001.phpt +++ b/ext/phar/tests/phpinfo_001.phpt @@ -1,12 +1,17 @@ --TEST-- Phar: phpinfo display 1 --SKIPIF-- -<?php if (!extension_loaded("phar")) die("skip"); ?> -<?php if (!extension_loaded("zlib")) die("skip zlib not loaded"); ?> -<?php if (!extension_loaded("bz2")) die("skip bz2 not loaded"); ?> +<?php +if (!extension_loaded("phar")) die("skip"); +if (!extension_loaded("zlib")) die("skip zlib not loaded"); +if (!extension_loaded("bz2")) die("skip bz2 not loaded"); +$arr = Phar::getSupportedSignatures(); +if (in_array("OpenSSL", $arr)) die("skip openssl support enabled"); +?> --INI-- phar.readonly=0 phar.require_hash=0 +phar.cache_list= --FILE-- <?php phpinfo(INFO_MODULES); @@ -27,12 +32,14 @@ Tar-based phar archives => enabled ZIP-based phar archives => enabled gzip compression => enabled bzip2 compression => enabled +OpenSSL support => disabled (install ext/openssl) Phar based on pear/PHP_Archive, original concept by Davey Shafik. Phar fully realized by Gregory Beaver and Marcus Boerger. -Portions of tar implementation Copyright (c) 2003-2007 Tim Kientzle. +Portions of tar implementation Copyright (c) 2003-2008 Tim Kientzle. Directive => Local Value => Master Value +phar.cache_list => no value => no value phar.readonly => Off => Off phar.require_hash => Off => Off %a @@ -47,12 +54,14 @@ Tar-based phar archives => enabled ZIP-based phar archives => enabled gzip compression => enabled bzip2 compression => enabled +OpenSSL support => disabled (install ext/openssl) Phar based on pear/PHP_Archive, original concept by Davey Shafik. Phar fully realized by Gregory Beaver and Marcus Boerger. -Portions of tar implementation Copyright (c) 2003-2007 Tim Kientzle. +Portions of tar implementation Copyright (c) 2003-2008 Tim Kientzle. Directive => Local Value => Master Value +phar.cache_list => no value => no value phar.readonly => On => Off phar.require_hash => On => Off %a |