Lines Matching refs:password_hash
2 Test error operation of password_hash()
7 var_dump(password_hash());
9 var_dump(password_hash("foo"));
11 var_dump(password_hash("foo", array()));
13 var_dump(password_hash("foo", 19, new StdClass));
15 var_dump(password_hash("foo", PASSWORD_BCRYPT, "baz"));
17 var_dump(password_hash(array(), PASSWORD_BCRYPT));
19 var_dump(password_hash("123", PASSWORD_BCRYPT, array("salt" => array())));
22 var_dump(password_hash('123', PASSWORD_BCRYPT, array('salt' => 1234)));
26 Warning: password_hash() expects at least 2 parameters, 0 given in %s on line %d
29 Warning: password_hash() expects at least 2 parameters, 1 given in %s on line %d
32 Warning: password_hash() expects parameter 2 to be long, array given in %s on line %d
35 Warning: password_hash(): Unknown password hashing algorithm: 19 in %s on line %d
38 Warning: password_hash() expects parameter 3 to be array, string given in %s on line %d
41 Warning: password_hash() expects parameter 1 to be string, array given in %s on line %d
44 Warning: password_hash(): Non-string salt parameter supplied in %s on line %d
47 Warning: password_hash(): Provided salt is too short: 4 expecting 22 in %s on line %d