3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(parse_url('http://*.example.com/some/path/*/file.htm?param1=1&param2=2#anchor'));
Output for 4.3.0 - 7.1.0
array(5) { ["scheme"]=> string(4) "http" ["host"]=> string(13) "*.example.com" ["path"]=> string(21) "/some/path/*/file.htm" ["query"]=> string(17) "param1=1&param2=2" ["fragment"]=> string(6) "anchor" }