3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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));
Output for 5.5.0 - 5.6.30, hhvm-3.11.1 - 3.22.0, 7.0.0 - 7.2.6
bool(true) bool(true)