3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<? 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>"; } ?> <br><br> Can you authenticate to this website? <!-- source: index.phps -->
based on ea3PM
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.4.34
Parse error: syntax error, unexpected '=' in /in/EUYlO on line 2
Process exited with code 255.
Output for 5.4.0 - 5.4.32
<? 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>"; } ?> <br><br> Can you authenticate to this website? <!-- source: index.phps -->