3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $URI_Parts = explode('/', $_SERVER['REQUEST_URI']); $URI_FirstSegment = $URI_Parts[0]; echo URI_FirstSegment$
Output for 5.3.0 - 5.4.29
Parse error: syntax error, unexpected '$', expecting ',' or ';' in /in/Pajq1 on line 4
Process exited with code 255.