File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -121,6 +121,9 @@ $publicSuffix = $url->host->publicSuffix;
121
121
support was added in version ` 1.4.0 ` . Both unicode domains and their ASCII equivalents
122
122
are supported.
123
123
124
+ ** IMPORTANT** : PHP's [ intl] ( http://php.net/manual/en/book.intl.php ) extension is
125
+ required for the [ IDN functions] ( http://php.net/manual/en/ref.intl.idn.php ) .
126
+
124
127
#### Unicode
125
128
126
129
Parsing IDNA hosts is no different that parsing standard hosts. Setting ` $host = 'Яндекс.РФ'; ` (Russian-Cyrillic)
Original file line number Diff line number Diff line change 20
20
],
21
21
"require" : {
22
22
"php" : " >=5.3.0" ,
23
- "ext-curl" : " *"
23
+ "ext-curl" : " *" ,
24
+ "ext-intl" : " *"
24
25
},
25
26
"require-dev" : {
26
27
"mikey179/vfsStream" : " 1.2.*" ,
You can’t perform that action at this time.
0 commit comments