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