- Output for 8.2.0 - 8.2.3
- Fatal error: Uncaught ValueError: password_hash(): Argument #2 ($algo) must be a valid password hashing algorithm in /in/DMv87:3
Stack trace:
#0 /in/DMv87(3): password_hash(Object(SensitiveParameterValue), -1)
#1 {main}
thrown in /in/DMv87 on line 3
Process exited with code 255. - Output for 8.0.0 - 8.0.28, 8.1.0 - 8.1.16
- Fatal error: Uncaught ValueError: password_hash(): Argument #2 ($algo) must be a valid password hashing algorithm in /in/DMv87:3
Stack trace:
#0 /in/DMv87(3): password_hash('foo', -1)
#1 {main}
thrown in /in/DMv87 on line 3
Process exited with code 255. - Output for 7.4.0 - 7.4.33
- Warning: password_hash(): Unknown password hashing algorithm: -1 in /in/DMv87 on line 3 NULL Warning: password_hash(): Unknown password hashing algorithm: foo in /in/DMv87 on line 5 NULL Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in /in/DMv87 on line 7 Warning: password_hash(): Provided salt is too short: 3 expecting 22 in /in/DMv87 on line 7 NULL Warning: password_hash(): Invalid bcrypt cost parameter specified: 0 in /in/DMv87 on line 8 NULL Warning: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' (this will throw an Error in a future version of PHP) in /in/DMv87 on line 10 Warning: password_hash(): Unknown password hashing algorithm: PASSWORD_ARGON2I in /in/DMv87 on line 10 NULL Warning: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' (this will throw an Error in a future version of PHP) in /in/DMv87 on line 11 Warning: password_hash(): Unknown password hashing algorithm: PASSWORD_ARGON2I in /in/DMv87 on line 11 NULL Warning: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' (this will throw an Error in a future version of PHP) in /in/DMv87 on line 12 Warning: password_hash(): Unknown password hashing algorithm: PASSWORD_ARGON2I in /in/DMv87 on line 12 NULL
- Output for 7.3.0 - 7.3.33
- Warning: password_hash(): Unknown password hashing algorithm: -1 in /in/DMv87 on line 3 NULL Warning: password_hash() expects parameter 2 to be int, string given in /in/DMv87 on line 5 NULL Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in /in/DMv87 on line 7 Warning: password_hash(): Provided salt is too short: 3 expecting 22 in /in/DMv87 on line 7 NULL Warning: password_hash(): Invalid bcrypt cost parameter specified: 0 in /in/DMv87 on line 8 NULL Warning: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' (this will throw an Error in a future version of PHP) in /in/DMv87 on line 10 Warning: password_hash() expects parameter 2 to be int, string given in /in/DMv87 on line 10 NULL Warning: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' (this will throw an Error in a future version of PHP) in /in/DMv87 on line 11 Warning: password_hash() expects parameter 2 to be int, string given in /in/DMv87 on line 11 NULL Warning: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' (this will throw an Error in a future version of PHP) in /in/DMv87 on line 12 Warning: password_hash() expects parameter 2 to be int, string given in /in/DMv87 on line 12 NULL
- Output for 7.2.10 - 7.2.34
- Warning: password_hash(): Unknown password hashing algorithm: -1 in /in/DMv87 on line 3 NULL Warning: password_hash() expects parameter 2 to be integer, string given in /in/DMv87 on line 5 NULL Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in /in/DMv87 on line 7 Warning: password_hash(): Provided salt is too short: 3 expecting 22 in /in/DMv87 on line 7 NULL Warning: password_hash(): Invalid bcrypt cost parameter specified: 0 in /in/DMv87 on line 8 NULL Warning: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' (this will throw an Error in a future version of PHP) in /in/DMv87 on line 10 Warning: password_hash() expects parameter 2 to be integer, string given in /in/DMv87 on line 10 NULL Warning: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' (this will throw an Error in a future version of PHP) in /in/DMv87 on line 11 Warning: password_hash() expects parameter 2 to be integer, string given in /in/DMv87 on line 11 NULL Warning: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' (this will throw an Error in a future version of PHP) in /in/DMv87 on line 12 Warning: password_hash() expects parameter 2 to be integer, string given in /in/DMv87 on line 12 NULL
- Output for 7.2.0 - 7.2.9
- Warning: password_hash(): Unknown password hashing algorithm: -1 in /in/DMv87 on line 3 NULL Warning: password_hash() expects parameter 2 to be integer, string given in /in/DMv87 on line 5 NULL Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in /in/DMv87 on line 7 Warning: password_hash(): Provided salt is too short: 3 expecting 22 in /in/DMv87 on line 7 NULL Warning: password_hash(): Invalid bcrypt cost parameter specified: 0 in /in/DMv87 on line 8 NULL Warning: password_hash(): Memory cost is outside of allowed memory range in /in/DMv87 on line 10 NULL Warning: password_hash(): Time cost is outside of allowed time range in /in/DMv87 on line 11 NULL Warning: password_hash(): Invalid number of threads in /in/DMv87 on line 12 NULL
- Output for 7.0.0 - 7.0.33, 7.1.0 - 7.1.33
- Warning: password_hash(): Unknown password hashing algorithm: -1 in /in/DMv87 on line 3 NULL Warning: password_hash() expects parameter 2 to be integer, string given in /in/DMv87 on line 5 NULL Deprecated: password_hash(): Use of the 'salt' option to password_hash is deprecated in /in/DMv87 on line 7 Warning: password_hash(): Provided salt is too short: 3 expecting 22 in /in/DMv87 on line 7 NULL Warning: password_hash(): Invalid bcrypt cost parameter specified: 0 in /in/DMv87 on line 8 NULL Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/DMv87 on line 10 Warning: password_hash() expects parameter 2 to be integer, string given in /in/DMv87 on line 10 NULL Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/DMv87 on line 11 Warning: password_hash() expects parameter 2 to be integer, string given in /in/DMv87 on line 11 NULL Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/DMv87 on line 12 Warning: password_hash() expects parameter 2 to be integer, string given in /in/DMv87 on line 12 NULL
- Output for 5.6.0 - 5.6.40
- Warning: password_hash(): Unknown password hashing algorithm: -1 in /in/DMv87 on line 3 NULL Warning: password_hash() expects parameter 2 to be long, string given in /in/DMv87 on line 5 NULL Warning: password_hash(): Provided salt is too short: 3 expecting 22 in /in/DMv87 on line 7 NULL Warning: password_hash(): Invalid bcrypt cost parameter specified: 0 in /in/DMv87 on line 8 NULL Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/DMv87 on line 10 Warning: password_hash() expects parameter 2 to be long, string given in /in/DMv87 on line 10 NULL Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/DMv87 on line 11 Warning: password_hash() expects parameter 2 to be long, string given in /in/DMv87 on line 11 NULL Notice: Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' in /in/DMv87 on line 12 Warning: password_hash() expects parameter 2 to be long, string given in /in/DMv87 on line 12 NULL