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
/
idn002.phpt
1
--TEST--
2
libidn
3
--INI--
4
psi.directory={PWD}/../../psi.d:{PWD}
5
--FILE--
6
===TEST===
7
<?php
8
9
$rc = idn\utf8_to_ascii("…asdf….de", $result, psi\IDNA_USE_STD3_ASCII_RULES);
10
printf("%s\n", $result);
11
printf("%s\n", idn\strerror($rc));
12
13
?>
14
===DONE===
15
--EXPECT--
16
===TEST===
17
18
Non-digit/letter/hyphen in input
19
===DONE===