php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #51064 "bool openssl_random_pseudo_bytes" should say string instead
Submitted: 2010-02-17 03:54 UTC Modified: 2010-02-17 04:49 UTC
From: zelnaga at gmail dot com Assigned: kalle (profile)
Status: Closed Package: Documentation problem
PHP Version: 5.3.1 OS:
Private report: No CVE-ID: None
 [2010-02-17 03:54 UTC] zelnaga at gmail dot com
Description:
------------
The description says "bool openssl_random_pseudo_bytes".  Shouldn't it say "string openssl_random_pseudo_bytes" instead?  Sure, it /can/ return booleans, but then so to can base64_decode, and the description for that is "string base64_decode".


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-02-17 04:49 UTC] svn@php.net
Automatic comment from SVN on behalf of kalle
Revision: http://svn.php.net/viewvc/?view=revision&revision=295193
Log: Fixed bug #51064 ("bool openssl_random_pseudo_bytes" should say string instead)
 [2010-02-17 04:49 UTC] kalle@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.


 [2020-02-07 06:09 UTC] phpdocbot@php.net
Automatic comment on behalf of kalle
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=703896272fc7ef6cfc9efdfb77d24f9d91852631
Log: Fixed bug #51064 ("bool openssl_random_pseudo_bytes" should say string instead)
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 00:01:34 2025 UTC