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===DONE===
14--EXPECT--
15array(1) {
16  [0]=>
17  string(5) "BZIP2"
18}
19===DONE===
20