vrana Mon Jan 29 09:56:10 2007 UTC
Modified files: /phpdoc/en/reference/phar/functions Phar-getSignature.xml Log: Fix return type http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/phar/functions/Phar-getSignature.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/phar/functions/Phar-getSignature.xml diff -u phpdoc/en/reference/phar/functions/Phar-getSignature.xml:1.1 phpdoc/en/reference/phar/functions/Phar-getSignature.xml:1.2 --- phpdoc/en/reference/phar/functions/Phar-getSignature.xml:1.1 Sun Jan 28 05:31:52 2007 +++ phpdoc/en/reference/phar/functions/Phar-getSignature.xml Mon Jan 29 09:56:10 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="function.Phar-getSignature"> <refnamediv> <refname>Phar->getSignature</refname> @@ -8,7 +8,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>string</type><methodname>Phar->getSignature</methodname> + <type>array</type><methodname>Phar->getSignature</methodname> <void/> </methodsynopsis> @@ -25,7 +25,8 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - The opened archive's signature. This signature is a hash calculated on the + 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 <link linkend="ini.phar.require-hash">phar.require_hash</link> INI variable