php/doc-en

openssl_random_pseudo_bytes documentation update

Offen

#1.523 geöffnet am 16.04.2022

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)XML (882 Forks)auto 404
Extension: opensslbuggood first issue

Repository-Metriken

Stars
 (596 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 99T 23h) (90 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide