3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(parse_url('//:pass@:123'));
based on cSem7
Output for 5.4.8 - 7.2.0
bool(false)
Output for 4.4.0 - 4.4.9, 5.0.5 - 5.4.7
array(1) { ["path"]=> string(12) "//:pass@:123" }
Output for 4.3.0 - 4.3.11, 5.0.0 - 5.0.4
array(2) { ["scheme"]=> string(2) "//" ["path"]=> string(9) "pass@:123" }