3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $s1=''; $s2=''; error_reporting(0); require_once("flag.php"); global $_SERVER; $REMOTE_ADDR = $_SERVER; $ret = md5($REMOTE_ADDR); global $_GET; $_GET = $ret; $s2 = $_GET; if ($1 != $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 '1' (T_LNUMBER), expecting variable (T_VARIABLE) or '$' in /in/H63gc on line 16
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in /in/H63gc on line 16
Process exited with code 255.