3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(0); require_once('flag.php'); $s1 = $_GET[md5($_SERVER['REMOTE_ADDRESS'])]; $s2 = $_GET[md5($_SERVER['HTTP_USER_AGENT'])]; if ($s1!=$s2) { if (md5($s1)===hash('md5',$s2)) { if (hash('sha512',$s1,true)!= hash('sha512',$s2,true)) { define("FLAG","123"); echo: 'You got it'+FLAG; } } } ?>
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.27
Parse error: syntax error, unexpected ':' in /in/L4CrF on line 15
Process exited with code 255.

preferences:
192.39 ms | 1395 KiB | 64 Q