php/doc-en

openssl_random_pseudo_bytes documentation update

オープン

#1,523 opened on 2022/04/16

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)XML (882 件のフォーク)auto 404
Extension: opensslbuggood first issue

Repository metrics

Stars
 (596 個のスター)
PR merge metrics
 (平均マージ 99d 23h) (30d で 90 merged PRs)

説明

From manual page: https://php.net/function.openssl-random-pseudo-bytes

Return Values Returns the generated string of bytes on success, or false on failure.


As of PHP 7.4, this is no longer true. Instead, an error is raised.

Return Values Returns the generated string of bytes on success, or throws an Error on failure (e.g. if the number of bytes requested is less than 1).

コントリビューターガイド