3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(0); REQUIRE_ONCE 'flag.php'; $hash_0 = $_GET[md5($_SERVER['REMOTE_ADDR'])]; $hash_1 = $_GET[md5($_SERVER['HTTP_USER_AGENT'])]; if ($hash_0 == $hash_1) if (md5($hash_0) === hash('md5', $hash_1)) if (hash('sha512', $hash_0, true) == hash('sha512', $hash_1, true)) echo 'You got it! Here is your flag:' . $FLAG; return;

preferences:
60.68 ms | 402 KiB | 5 Q