3v4l.org

run code in 300+ PHP versions simultaneously
<?php $correctPW = '34a124424f065ae13936064ab366d9'; $bad = 'be6759bc425ed7b26c177cf53af82b1ed519'; $hash = password_hash(hash('sha512', $correctPW, true), PASSWORD_BCRYPT); var_dump( password_verify( hash('sha512', $bad, true), $hash ) );
Output for 7.1.25 - 7.1.33, 7.2.0 - 7.2.25, 7.3.0 - 7.3.12, 7.4.0
bool(true)

preferences:
72.34 ms | 459 KiB | 5 Q