1--TEST--
2Phar::getSupportedCompression() (bz2 and zlib)
3--SKIPIF--
4<?php if (!extension_loaded("phar")) die("skip"); ?>
5<?php if (!extension_loaded("bz2")) die("skip bz2 not available"); ?>
6<?php if (!extension_loaded("zlib")) die("skip zlib not available"); ?>
7--INI--
8phar.require_hash=0
9--FILE--
10<?php
11var_dump(Phar::getSupportedCompression());
12?>
13===DONE===
14--EXPECT--
15array(2) {
16  [0]=>
17  string(2) "GZ"
18  [1]=>
19  string(5) "BZIP2"
20}
21===DONE===
22