We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1114173 commit 9b5f44fCopy full SHA for 9b5f44f
ext/standard/tests/url/url_utf8.phpt
@@ -0,0 +1,10 @@
1
+--TEST--
2
+Uri: hostnames should be preserved in Unicode form
3
+--FILE--
4
+<?php
5
+
6
+$parsed = parse_url('http://ουτοπία.δπθ.gr/');
7
+var_dump($parsed['host']);
8
+?>
9
+--EXPECT--
10
+string(24) "ουτοπία.δπθ.gr"
0 commit comments