- var_dump: documentation ( source)
- password_hash: documentation ( source)
- password_verify: documentation ( source)
<?php
$p1 = '12345678901234567890123456789012345678901234567890123456789012345678901234567890';
$p2 = '123456789012345678901234567890123456789012345678901234567890123456789012';
$p3 = '123456789012345678901234567890123456789012345678901234567890123456789012abcdef';
$h1 = password_hash($p1, PASSWORD_BCRYPT);
var_dump(password_verify($p2, $h1));
var_dump(password_verify($p3, $h1));