3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $url = 'http://baidu.com' ; print_r ( parse_url ( $url ));
based on 2q6nt
Output for 4.3.0 - 7.2.0
Array ( [scheme] => http [host] => baidu.com )