Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

downgrade random_bytes() to work in PHP 5.6 #106

Closed

Conversation

mambax7
Copy link
Contributor

@mambax7 mambax7 commented Nov 20, 2023

No description provided.

@geekwright
Copy link
Collaborator

We use https://github.com/paragonie/random_compat

This already applies a polyfill for random_bytes() as needed based on PHP versions and library availability.

In what cases does it fail?

@mambax7
Copy link
Contributor Author

mambax7 commented Nov 21, 2023

It didn't fail - PhpStorm inspections complained that random_bytes() function was not compatible with my PHP 5.6 version.

@geekwright geekwright closed this Dec 5, 2023
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.

None yet

2 participants