3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(parse_url('wsdl+file:///foo/bar/baz.wsdl'));
Output for 5.3.3 - 7.1.0
bool(false)
Output for 5.2.0 - 5.3.2
Warning: parse_url(wsdl+file:///foo/bar/baz.wsdl): Unable to parse URL in /in/tZ1Yp on line 3 bool(false)
Output for 4.3.2 - 4.3.11, 4.4.1 - 5.1.6
Warning: parse_url(wsdl+file:///foo/bar/baz.wsdl): Unable to parse url in /in/tZ1Yp on line 3 bool(false)
Output for 4.4.0
array(2) { ["host"]=> string(9) "wsdl+file" ["path"]=> string(19) "///foo/bar/baz.wsdl" }
Output for 4.3.0 - 4.3.1
array(2) { ["scheme"]=> string(9) "wsdl+file" ["host"]=> string(17) "/foo/bar/baz.wsdl" }