php/doc-en

openssl_random_pseudo_bytes documentation update

开放

#1,523 创建于 2022年4月16日

 (1 条评论) (0 个反应) (0 位负责人)XML (882 个派生)auto 404
Extension: opensslbuggood first issue

仓库指标

星标
 (596 个星标)
PR 合并指标
 (平均合并 99天 23小时) (30 天内合并 90 个 PR)

描述

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).

贡献者指南