3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $s1=''; $s2=''; error_reporting(0); require_once("flag.php"); $remoteAddr = $_SERVER['REMOTE_ADDR']; $retA = md5($REMOTE_ADDR); $temp1 $_GET[$retA]; $s1 = $temp1; $userAgent = $_SERVER['HTTP_USER_AGENT']; $retB = md5($userAgent); $temp2 = $_GET[$retB]; $s2 = $temp2; if ($s1 != $s2) { $ret1 = md5($s1); $ret2 = hash('md5', $s2); if ($ret1 === $ret2) { return 1; } $ret3 = hash('sha512', $s1, TRUE); $ret4 = hash('sha512', $s2, TRUE); if ($ret3 != $ret4) { echo CONCAT(FLAG,'You+got+it+%3B%29+Here+is+your+flag%3A+'); } } return 1; ?>
Output for 5.4.0 - 5.4.27
Parse error: syntax error, unexpected '$_GET' (T_VARIABLE) in /in/t1sGb on line 10
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_VARIABLE in /in/t1sGb on line 10
Process exited with code 255.