projects
/
m6w6
/
ext-psi
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
travis: update
[m6w6/ext-psi]
/
tests
/
idn
/
idn003.phpt
1
--TEST--
2
libidn
3
--INI--
4
psi.directory={PWD}/../../psi.d:{PWD}
5
--FILE--
6
===TEST===
7
<?php
8
9
$result = "buecher.de";
10
$rc = idn\utf8_to_ascii("bücher.de", $result, psi\IDNA_USE_STD3_ASCII_RULES);
11
printf("%s\n", $result);
12
printf("%s\n", idn\strerror($rc));
13
14
?>
15
===DONE===
16
--EXPECT--
17
===TEST===
18
xn--bcher-kva.de
19
Success
20
===DONE===