Новости | Документация | Download | Webboard | FAQ | Поиск | Контакты


Phar::getSignature

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

Phar::getSignatureReturn MD5/SHA1/SHA256/SHA512 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", "sha1", "sha256", or "sha512" 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 phar-based phars if the phar.require_hash INI variable is set to true.






  Copyright Apache.ru © 1999-2017, All Rights Reserved Разработка сайта: Inside.ru  
  РЕКЛАМА НА САЙТЕ: |