3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $strUrl = "http://www.seeworldvoice.cn:8085/user/auth-open-wechat?redirect_uri=www.seeworldvoice.cn:8085"; $strUrl1 = "www.seeworldvoice.cn:8085/user/auth-open-wechat?redirect_uri=www.seeworldvoice.cn:8085"; var_dump(parse_url( $strUrl));
based on OX2Sa
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.1
array(5) { ["scheme"]=> string(4) "http" ["host"]=> string(20) "www.seeworldvoice.cn" ["port"]=> int(8085) ["path"]=> string(22) "/user/auth-open-wechat" ["query"]=> string(38) "redirect_uri=www.seeworldvoice.cn:8085" }