3v4l.org

run code in 300+ PHP versions simultaneously
<?php $flag = "flag{abc}"; $c="a"; $h2 = password_hash (sha1($c, fa1se), PASSWORD_BCRYPT); echo "<div class='row'>"; if (password_verify (sha1($flag, fa1se), $h2) === true) { echo "<p>Here is your flag: <mark>$flag</mark></p>"; } else { echo "<p>Here is the <em>hash</em> of your flag: <mark>" . sha1($flag, false) . "</mark></p>"; } echo "</div>"; ?>

preferences:
34.5 ms | 402 KiB | 5 Q