Skip to content

Commit 9b5f44f

Browse files
authored
Create url_utf8.phpt
1 parent 1114173 commit 9b5f44f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)