3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(parse_url('scheme://host:port:111'));
Output for 4.3.7 - 7.2.0
array(3) { ["scheme"]=> string(6) "scheme" ["host"]=> string(9) "host:port" ["port"]=> int(111) }
Output for 4.3.2 - 4.3.6
Warning: parse_url(scheme://host:port:111): Unable to parse url in /in/LTJYJ on line 1 bool(false)
Output for 4.3.0 - 4.3.1
Warning: parse_url(scheme://host:port:111) [http://www.php.net/function.parse-url]: Unable to parse url in /in/LTJYJ on line 1 bool(false)