Documentation PHP

Phar::getSignature

(PECL phar:1.0.0-1.2.1)

Phar::getSignature — Return MD5/SHA1/SHA256/SHA512 signature of a Phar archive

Description

array Phar::getSignature ( void )

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

Liste de paramètres

Valeurs de retour

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.



Ceci n'est pas la documentation originale du langage de programmation php, pour y accéder visiter le site www.php.net

Support du web, outils, services, compteurs, scripts, générateurs et autres outils pour les webmasters gratuitement à 100%
Page générée en 0.010786 secondes.