Merge pull request #1039 from rakiy/master

php8正式移除了类名相同的构造方法的支持
This commit is contained in:
joyqi 2020-12-10 18:30:42 +08:00 committed by GitHub
commit 63b71df244
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ class PasswordHash {
var $portable_hashes;
var $random_state;
function PasswordHash($iteration_count_log2, $portable_hashes)
function __construct($iteration_count_log2, $portable_hashes)
{
$this->itoa64 = './0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';