projects
/
mdref
/
mdref
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
style
[mdref/mdref]
/
http
/
Url
/
toArray.md
1
# array http\Url::toArray()
2
3
Retrieve the URL parts as array.
4
5
## Params:
6
7
None.
8
9
## Returns:
10
11
* array, the URL parts.
12
13
## Example:
14
15
var_dump((new http\Url)->toArray());
16
17
Yields:
18
19
array(7) {
20
["scheme"]=>
21
string(4) "http"
22
["user"]=>
23
string(0) ""
24
["pass"]=>
25
string(0) ""
26
["host"]=>
27
string(7) "smugmug"
28
["path"]=>
29
string(1) "/"
30
["query"]=>
31
string(0) ""
32
["fragment"]=>
33
string(0) ""
34
}