1--TEST-- 2Phar::getSupportedSignatures() 3--SKIPIF-- 4<?php 5if (!extension_loaded("phar")) die("skip"); 6if (extension_loaded("hash")) die("skip extension hash conflicts"); 7$arr = Phar::getSupportedSignatures(); 8if (in_array("OpenSSL", $arr)) die("skip openssl support enabled"); 9?> 10--INI-- 11phar.require_hash=0 12phar.readonly=0 13--FILE-- 14<?php 15var_dump(Phar::getSupportedSignatures()); 16?> 17===DONE=== 18?> 19--EXPECT-- 20array(2) { 21 [0]=> 22 string(3) "MD5" 23 [1]=> 24 string(5) "SHA-1" 25} 26===DONE=== 27