PHP
downloads | documentation | faq | getting help | mailing lists | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Phar::getStub> <Phar::getModified
Last updated: Fri, 14 Nov 2008

view this page in

Phar::getSignature

(PECL phar:1.0.0-1.2.1)

Phar::getSignaturePhar アーカイブの MD5/SHA1/SHA256/SHA512 シグネチャを返す

説明

array Phar::getSignature ( void )

phar アーカイブの検証用シグネチャを、 十六進文字列で返します。

パラメータ

返り値

開いているアーカイブのシグネチャを配列で返します。 キー "hash" にはシグネチャ自体を、そしてキー "hash_type" には "md5"、"sha1"、"sha256" あるいは "sha512" を格納します。 このシグネチャは phar の中身全体から計算したハッシュで、 アーカイブの整合性を検証する際に使用します。 INI 設定 phar.require_hash が true の場合は、すべての phar が有効なシグネチャを持っている必要があります。



add a note add a note User Contributed Notes
Phar::getSignature
There are no user contributed notes for this page.

Phar::getStub> <Phar::getModified
Last updated: Fri, 14 Nov 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites