1--TEST-- 2Phar::getSupportedCompression() (zlib only) 3--SKIPIF-- 4<?php if (!extension_loaded("phar")) die("skip"); ?> 5<?php if (extension_loaded("bz2")) die("skip bz2 is 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(1) { 16 [0]=> 17 string(2) "GZ" 18} 19===DONE=== 20