3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_GET[id] = 'admin'; if(eregi("admin",$_GET[id])) { echo("<p>not allowed!</p>"); exit(); } $_GET[id] = urldecode($_GET[id]); if($_GET[id] == "admin") { echo "<p>Access granted!</p>"; echo "<p>Key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx </p>"; }

preferences:
34.98 ms | 402 KiB | 5 Q