|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71112 Detect some valid url as invalid in parse_url
Submitted: 2015-12-13 20:42 UTC Modified: -
Avg. Score:3.7 ± 0.9
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (50.0%)
From: dudytz at gmail dot com Assigned:
Status: Open Package: *URL Functions
PHP Version: 5.6.16 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: dudytz at gmail dot com
New email:
PHP Version: OS:


 [2015-12-13 20:42 UTC] dudytz at gmail dot com
Seems that the bug #66813 is still present on PHP 5.6.16:


array(2) {
  string(5) "/path"
  string(10) "value=a:2a"

But when there is a column followed by one or more number, the function returns false.


==> bool(false)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-01-15 07:26 UTC] simonsimcity at gmail dot com
Of all combinations I tested, only PHP 7.0 returned the awaited result.

Tested versions and OSes:
* on Ubuntu Linux:
** 5.3.10-1ubuntu3.21
** 5.5.9-1ubuntu4.14
* on OS X: 
** 5.4.45
** 5.5.31
** 5.6.17
** 7.0.2

Seems this bug has been fixed in PHP >=7.0
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue Dec 05 22:01:29 2023 UTC