Answers for "Warning: password_verify() expects parameter 2 to be string, array given in"

PHP
0

Warning: password_verify() expects parameter 2 to be string, array given in

<?php

$password = "Hello";
$hash = password_hash($password, PASSWORD_DEFAULT);
echo $hash;

var_dump(password_verify("Hello", $hash));

?>
Posted by: Guest on June-06-2020
-1

Warning: password_verify() expects parameter 2 to be string, array given in

array(3) { ["algo"]=> int(0) ["algoName"]=> string(7) "unknown" ["options"]=> array(0) { } }
Posted by: Guest on June-06-2020

Code answers related to "Warning: password_verify() expects parameter 2 to be string, array given in"

Browse Popular Code Answers by Language