php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #63755 [crypt] wrong word: should be "characters", not "digits"
Submitted: 2012-12-13 03:06 UTC Modified: 2013-01-12 04:04 UTC
From: phpmpan at mpan dot pl Assigned: frozenfire (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: phpmpan at mpan dot pl
New email:
PHP Version: OS:

 

 [2012-12-13 03:06 UTC] phpmpan at mpan dot pl
Description:
------------
---
From manual page: http://www.php.net/function.crypt#refsect1-function.crypt-description
---
A description of `CRYPT_BLOWFISH` algorithm says:
 22 digits from the alphabet "./0-9A-Za-z"

While I agree that any string can be considered a number and this particular one can be seen as a number in 64-based notation, I'm almost sure documentation meant "characters" in this sentence, not "digits".

Test script:
---------------
1. Go to documentation for `crypt`
2. Read description of `CRYPT_BLOWFISH`

Expected result:
----------------
 22 characters from the alphabet "./0-9A-Za-z"

Actual result:
--------------
 22 digits from the alphabet "./0-9A-Za-z"

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-01-12 04:04 UTC] frozenfire@php.net
Automatic comment from SVN on behalf of frozenfire
Revision: http://svn.php.net/viewvc/?view=revision&revision=329093
Log: Clarified language of CRYPT_BLOWFISH character range admonition.
Contribution by Ole Aass.
Closes bug #63755.
 [2013-01-12 04:04 UTC] frozenfire@php.net
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.


 [2013-01-12 04:04 UTC] frozenfire@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: frozenfire
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 21:00:02 2026 UTC