3v4l.org

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

Process exited with code 153.