3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print "omg"; print_r( parse_url("http://134744072\x00:@1.2.3.4/btc.txt") ); print "wtf"; ?>
Output for 5.5.24 - 5.6.21, 7.0.0 - 7.0.6, 7.1.0
omgArray ( [scheme] => http [host] => 1.2.3.4 [user] => 134744072_ [pass] => [path] => /btc.txt ) wtf
Output for 5.6.28, 7.0.14
omgArray ( [scheme] => http [host] => 134744072 [path] => _:@1.2.3.4/btc.txt ) wtf
Output for 4.3.10 - 4.4.9, 5.0.2 - 5.4.45, hhvm-3.10.0 - 3.12.0
omgArray ( [scheme] => http [host] => 1.2.3.4 [user] => 134744072_ [path] => /btc.txt ) wtf
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.1
omgArray ( [scheme] => http [host] => 134744072 ) wtf