3v4l.org

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