3v4l.org

run code in 150+ 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 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
bool(false)
Output for hhvm-3.10.0

Process exited with code 153.
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" }