Description:
------------
It seems if you pass a url that has a colon followed by a number into parse_url
it is unable to parse it. i.e /1:2 returns false
but /1:a2 works so maybe something to do with
the regex?
Test script:
---------------
$testString = "/1:2";
$x = parse_url($testString);
var_dump( $x );
Expected result:
----------------
array(1) { ["path"]=> string(5) "/1:2" }
Actual result:
--------------
bool(false)

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php
That isn't a valid URL, since there's no scheme, and hence parse_url() is within its rights to return false in that case.