1--TEST--
2Phar::getSupportedSignatures()
3--EXTENSIONS--
4phar
5--SKIPIF--
6<?php
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--EXPECT--
18array(4) {
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}
28