3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = 'correct-password'; $hash_from_crypt = crypt($input, '$1$$'); # correct var_dump(password_verify($input, $hash_from_crypt)); # wrong var_dump(password_verify('wrong-password', $hash_from_crypt));

preferences:
55.9 ms | 402 KiB | 5 Q