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