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 ) );

preferences:
34.79 ms | 407 KiB | 5 Q