#51004 [Opn->Csd]: Incorrect subtext
| From: | degeberg@php.net | Date: | Wed, 10 Feb 2010 22:36:22 +0000 |
| Subject: | #51004 [Opn->Csd]: Incorrect subtext | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-3862@lists.php.net to get a copy of this message | ||
ID: 51004
Updated by: degeberg@php.net
Reported By: cory at opendns dot com
-Status: Open
+Status: Closed
Bug Type: Documentation problem
PHP Version: Irrelevant
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Previous Comments:
------------------------------------------------------------------------
[2010-02-10 22:36:15] svn@php.net
Automatic comment from SVN on behalf of degeberg
Revision: http://svn.php.net/viewvc/?view=revision&revision=294861
Log: Fixed #51004: Inaccurate description of sha1_file().
------------------------------------------------------------------------
[2010-02-10 21:51:04] cory at opendns dot com
Description:
------------
The documentation incorrectly describes sha1_file() as generating a
sha1
of a file instead of the filename.
Reproduce code:
---------------
---
From manual page: function.sha1-file#Description
---
sha1_file
(PHP 4 >= 4.3.0, PHP 5)
sha1_file Calculate the sha1 hash of a file
---
The above description is incorrect, yet the description itself
correctly describes this function:
"Calculates the sha1 hash of filename using the » US Secure Hash
Algorithm 1, and returns that hash."
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=51004&edit=1