3v4l.org

run code in 300+ PHP versions simultaneously
<?php $options = [ 'cost' => 12, ]; $hash = password_hash(md5("tes"), CRYPT_BLOWFISH, $options); if (password_verify(md5("tes"), $hash)) { echo 'Password is valid!'; } else { echo 'Invalid password.'; }

preferences:
33.47 ms | 402 KiB | 5 Q