3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x = parse_url("http://8.8.8.8?/btc.txt"); print_r($x); print_r(gethostbynamel("0x9999")); ?>
Output for 5.6.28, 7.0.14 - 7.1.0
Array ( [scheme] => http [host] => 8.8.8.8 [query] => /btc.txt )
Output for 4.3.0 - 5.6.21, 7.0.0 - 7.0.6
Array ( [scheme] => http [host] => 8.8.8.8? [path] => /btc.txt )