3v4l.org

run code in 300+ PHP versions simultaneously
<?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));

preferences:
33.77 ms | 406 KiB | 5 Q