3v4l.org

run code in 300+ PHP versions simultaneously
<?php <? $encodedSecret = "3d3d516343746d4d6d6c315669563362"; function encodeSecret($secret) { return bin2hex(strrev(base64_encode($secret))); } if(array_key_exists("submit", $_POST)) { if(encodeSecret($_POST['secret']) == $encodedSecret) { print "Access granted. The password for natas9 is <censored>"; } else { print "Wrong secret"; } } ?>
Output for 7.0.0 - 7.0.33, 7.1.0 - 7.1.32, 7.2.0 - 7.2.22, 7.3.0 - 7.3.9
Parse error: syntax error, unexpected '<', expecting end of file in /in/7oh8D on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.40
Parse error: syntax error, unexpected '<' in /in/7oh8D on line 2
Process exited with code 255.

preferences:
285.43 ms | 1400 KiB | 263 Q