|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-01-04 22:49 UTC] mike@php.net
[2012-01-04 22:49 UTC] mike@php.net
-Status: Open
+Status: Bogus
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 05 07:00:01 2025 UTC |
Description: ------------ If no scheme is provided on the value passed to parse_url(), it incorrectly assigns "domain.com" to a key of "path". Should be "host". Test script: --------------- $parsed_url = parse_url('domain.com'); print_r($parsed_url); // Current result is: //Array ( [path] => domain.com ) // Should be: //Array ( [host] => domain.com )