3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $url = 'ctpp://ericsson:78325/?carrier=31003&address=2125551212'; $parsedURL = parse_url($url); var_dump($parsedURL);
based on D00h8
Output for 5.3.6 - 7.2.0
bool(false)
Output for 4.3.0 - 5.3.5
array(5) { ["scheme"]=> string(4) "ctpp" ["host"]=> string(8) "ericsson" ["port"]=> int(12789) ["path"]=> string(1) "/" ["query"]=> string(32) "carrier=31003&address=2125551212" }