mirror of
https://github.com/antonioribeiro/google2fa.git
synced 2026-04-27 00:55:49 +03:00
[GH-ISSUE #91] random_int only php7 #508
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/google2fa#508
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Jan 6, 2018).
Original GitHub issue: https://github.com/antonioribeiro/google2fa/issues/91
you mention it is compatible with php 5.4 but the function random_int in base32 trait is only available in php7 and will return an error message
@GrahamCampbell commented on GitHub (Jan 6, 2018):
https://github.com/antonioribeiro/google2fa/blob/master/composer.json#L16
@antonioribeiro commented on GitHub (Jan 6, 2018):
As @GrahamCampbell noted, it is compatible via random_compat, and tests are passing from PHP 5.4 to 7.2: