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

Auto change the return function by detecting the php version you are … #781

Conversation

Projects
None yet
2 participants
@kiranbhattarai
Copy link

commented Apr 15, 2019

php version 5.x does not support funtion random_bytes(), so the script will check the php version of the server and switch between random_bytes() and mt_rand()

@adbario

This comment has been minimized.

Copy link

commented May 2, 2019

@kiranbhattarai

This comment has been minimized.

Copy link
Author

commented May 2, 2019

@adbario

This comment has been minimized.

Copy link

commented May 2, 2019

No need to, as thephpleague/oauth2-client is dependency which requires the polyfill, so it's there already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.