-
Notifications
You must be signed in to change notification settings - Fork 421
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
php7 Compatibility problem #106
Comments
This library shouldn't be used on any PHP version equal to 5.5 or higher. You should be able to use the native password_* functions. |
Hi:
but other package depends this package,so how to improve to php7
…------------------ Original ------------------
From: "Benjamin Pearson"<[email protected]>;
Date: Fri, Aug 24, 2018 04:36 PM
To: "ircmaxell/password_compat"<[email protected]>;
Cc: "付友"<[email protected]>; "Author"<[email protected]>;
Subject: Re: [ircmaxell/password_compat] php7 Compatibility problem (#106)
This library shouldn't be used on any PHP version equal to 5.5 or higher
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
That part of the code will never be executed on PHP 7 as the |
...and if your code analyser is still complaining, it's a bug in your code analyser, not this lib. |
@oasfuyou These errors can be safely ignored (as long as they come from this package). All the same, this is something which we could sort out in the new |
105 | ERROR | Function mcrypt_create_iv() is deprecated since PHP 7.1 and removed since PHP 7.2; Use random_bytes() or OpenSSL instead
105 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
105 | ERROR | The constant "MCRYPT_DEV_URANDOM" is deprecated since PHP 7.1 and removed since PHP 7.2
The text was updated successfully, but these errors were encountered: