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

search for in the

Phar::getStub> <Phar::getModified
Last updated: Fri, 13 Nov 2009

view this page in

Phar::getSignature

(PHP >= 5.3.0, PECL phar >= 1.0.0)

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

説明

array Phar::getSignature ( void )

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

パラメータ

返り値

開いているアーカイブのシグネチャを配列で返します。 キー hash にはシグネチャ自体を、そしてキー hash_type には MD5SHA-1SHA-256SHA-512 あるいは OpenSSL を格納します。 このシグネチャは 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, 13 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites