3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $url = "http://console.moladb.baidu.com/dxc_dev/account?r=test"; $query = parse_url($url); print_r($query);
Output for 4.3.0 - 7.2.0
Array ( [scheme] => http [host] => console.moladb.baidu.com [path] => /dxc_dev/account [query] => r=test )