3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo dirname($_SERVER['SCRIPT_NAME']);
Output for 5.2.3 - 7.1.0
/in
Output for 4.3.0 - 5.2.2
Notice: Undefined index: SCRIPT_NAME in /in/lDHEE on line 2