-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /usr/src/php/ext/phar/tests/
File Upload :
Current File : //usr/src/php/ext/phar/tests/phar_get_supported_signatures_001.phpt

--TEST--
Phar::getSupportedSignatures()
--SKIPIF--
<?php
if (!extension_loaded("phar")) die("skip");
if (extension_loaded("hash")) die("skip extension hash conflicts");
$arr = Phar::getSupportedSignatures();
if (in_array("OpenSSL", $arr)) die("skip openssl support enabled");
?>
--INI--
phar.require_hash=0
phar.readonly=0
--FILE--
<?php
var_dump(Phar::getSupportedSignatures());
?>
===DONE===
?>
--EXPECT--
array(2) {
  [0]=>
  string(3) "MD5"
  [1]=>
  string(5) "SHA-1"
}
===DONE===

Copyright © 2017 || Recoded By Mr.Bumblebee