3v4l.org

run code in 500+ PHP versions simultaneously
<?php $string = str_repeat('a', 72); $hash = password_hash($string, PASSWORD_BCRYPT); var_dump(password_verify($string, $hash)); $hash = password_hash($string . 'bbbb', PASSWORD_BCRYPT); var_dump(password_verify($string, $hash));
Output for 8.2.0 - 8.2.34, 8.3.0 - 8.3.35, 8.4.1 - 8.4.26, 8.5.0 - 8.5.11
bool(true) bool(true)

preferences:
19.05 ms | 1151 KiB | 7 Q