Test: /ext/sodium/tests/bug78516.phpt - Version 7.4.3        

Bug #78516 password_hash(): Memory cost is outside of allowed memory range
Submitted: 2019-09-09 10:17:58 Modified: 2019-09-09 17:15:15
From: patrick Assigned: cmb
Status: Closed Package: hash related
PHP Version: 7.4.0RC1 OS: CentOS 7.6

There are 2 different diffs reported by users for this test.

Count Diff
2 (67%)
001+ Illegal instruction 002+ 001- int(8191) 002- int(8191) 003+ Termsig=4
1 (33%)
001+ Warning: Use of undefined constant PASSWORD_ARGON2ID - assumed 'PASSWORD_ARGON2ID' (this will throw an Error in a future version of PHP) in %s/bug78516.php on line 2 002+ 001- int(8191) 002- int(8191) 003+ Warning: password_hash(): Unknown password hashing algorithm: PASSWORD_ARGON2ID in %s/bug78516.php on line 2 004+ 005+ Warning: Use of undefined constant PASSWORD_ARGON2ID - assumed 'PASSWORD_ARGON2ID' (this will throw an Error in a future version of PHP) in %s/bug78516.php on line 3 006+ 007+ Notice: Undefined index: memory_cost in %s/bug78516.php on line 4 008+ NULL 009+ 010+ Warning: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' (this will throw an Error in a future version of PHP) in %s/bug78516.php on line 5 011+ 012+ Warning: password_hash(): Unknown password hashing algorithm: PASSWORD_ARGON2I in %s/bug78516.php on line 5 013+ 014+ Warning: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' (this will throw an Error in a future version of PHP) in %s/bug78516.php on line 6 015+ 016+ Notice: Undefined index: memory_cost in %s/bug78516.php on line 7 017+ NULL