note 28567 added to function.parse-url
| From: | marcus at lastcraft dot com | Date: | Fri, 17 Jan 2003 03:01:21 +0000 |
| Subject: | note 28567 added to function.parse-url | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-42247@lists.php.net to get a copy of this message | ||
There has been some breakage it seems between 4.2.3 and 4.3...
print_r(parse_url("http://localhost?key3=value3"));
...gives...
Array
(
[scheme] => http
[host] => localhost?key3=value3
)
...in 4.3 whereas in 4.2.3 it parses with the query in the correct place. I guess it depends on what
you mean by a fragment. This is on Linux.
yours, Marcus.
--
http://www.php.net/manual/en/function.parse-url.php
http://master.php.net/manage/user-notes.php?action=edit+28567
http://master.php.net/manage/user-notes.php?action=delete+28567
http://master.php.net/manage/user-notes.php?action=reject+28567