1--TEST--
2Phar::getSupportedCompression() (bz2 only)
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 is available"); ?>
7--INI--
8phar.require_hash=0
9--FILE--
10<?php
11var_dump(Phar::getSupportedCompression());
12?>
13--EXPECT--
14array(1) {
15  [0]=>
16  string(5) "BZIP2"
17}
18