3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $urlInfo = parse_url($_SERVER['REQUEST_URI']); $info = explode('/', $urlInfo['path']); echo $urlInfo;
Output for 7.0.20
Notice: Undefined index: REQUEST_URI in /in/6CYiA on line 2 Notice: Array to string conversion in /in/6CYiA on line 4 Array