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

search for in the

Phar->getStub> <Phar->getModified
Last updated: Mon, 26 Nov 2007

view this page in

Phar->getSignature

(PECL phar:1.0.0-1.2.1)

Phar->getSignature — Return MD5/SHA1 signature of a Phar archive

说明

array Phar->getSignature ( void )

Returns the verification signature of a phar archive in a hexadecimal string.

参数

返回值

Array with the opened archive's signature in "hash" key and "md5" or "sha1" in "hash_type". This signature is a hash calculated on the entire phar's contents, and may be used to verify the integrity of the archive. A valid signature is absolutely required of all phars if the phar.require_hash INI variable is set to true.



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: Mon, 26 Nov 2007
 
 
show source | credits | sitemap | contact | advertising | mirror sites