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 合併指標
 (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).

貢獻者指南