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 required");
8?>
9--INI--
10phar.require_hash=0
11phar.readonly=0
12--FILE--
13<?php
14var_dump(Phar::getSupportedSignatures());
15?>
16--EXPECT--
17array(5) {
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  [4]=>
27  string(7) "OpenSSL"
28}
29