3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?PHP session_start(); session_register("sess"); session_register("mode"); error_reporting(E_ERROR | E_PARSE); if (isset($_SESSION["sess"])) { if ($_SESSION["mode"]=="preview") $admin=false; else $admin=true; }else{ $admin=false; } if (file_exists("lang/".$lang.".php")) { include_once("lang/".$lang.".php"); }
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function session_register() in /in/AQm9L:3 Stack trace: #0 {main} thrown in /in/AQm9L on line 3
Process exited with code 255.
Output for 5.5.0 - 5.6.28
Fatal error: Call to undefined function session_register() in /in/AQm9L on line 3
Process exited with code 255.