3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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;
Output for 4.3.2 - 5.6.28, hhvm-3.10.0, 7.0.0 - 7.1.0

Process exited with code 255.
Output for hhvm-3.12.0
Fatal error: Uncaught Error: File not found: flag.php in /in/FDtkV:3 Stack trace: #0 {main}
Process exited with code 255.
Output for 4.3.0 - 4.3.1