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