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