Skip to content

Fix openssl_random_pseudo_bytes() on PHP 8.1#682

Merged
OskarStark merged 2 commits intothecodingmachine:masterfrom
cedric-anne:fix/openssl_random_pseudo_bytes
May 14, 2025
Merged

Fix openssl_random_pseudo_bytes() on PHP 8.1#682
OskarStark merged 2 commits intothecodingmachine:masterfrom
cedric-anne:fix/openssl_random_pseudo_bytes

Conversation

@cedric-anne
Copy link
Copy Markdown
Contributor

According to the documentation, since PHP 7.4:

The function no longer returns false on failure, but throws an Exception instead.

@OskarStark OskarStark merged commit b81b90a into thecodingmachine:master May 14, 2025
10 checks passed
@cedric-anne cedric-anne deleted the fix/openssl_random_pseudo_bytes branch May 14, 2025 06:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants