|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2017-03-21 11:41 UTC] requinix@php.net
 
-Status: Open
+Status: Duplicate
  [2017-03-21 11:41 UTC] requinix@php.net
  [2017-03-21 11:53 UTC] daverandom@php.net
  [2021-03-20 09:31 UTC] djavolak at mail dot ru
  [2021-03-20 09:42 UTC] djavolak at mail dot ru
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 18:00:01 2025 UTC | 
Description: ------------ URL like this: scheme://example_login:!#Password?@ZZZ@127.0.0.1/some_path parse_url returns false in PHP 7.1.3, 7.0.14, 5.6.29 (I have this versions available) But all works as expected in PHP 7.0.5, 5.6.20 Test script: --------------- var_dump( parse_url("scheme://example_login:!#Password?@ZZZ@127.0.0.1/some_path") ); Expected result: ---------------- array(5) { ["scheme"]=> string(6) "scheme" ["host"]=> string(9) "127.0.0.1" ["user"]=> string(13) "example_login" ["pass"]=> string(15) "!#Password?@ZZZ" ["path"]=> string(10) "/some_path" } Actual result: -------------- bool(false)