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===DONE===
17--EXPECT--
18array(5) {
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}
30===DONE===
31