3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo __FILE__."\n"; echo $_SERVER["SCRIPT_NAME"];
Output for 5.2.3 - 7.1.0
/in/UX5Un /in/UX5Un
Output for 4.3.0 - 5.2.2
/in/UX5Un Notice: Undefined index: SCRIPT_NAME in /in/UX5Un on line 3