projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
full struct typedefs
[m6w6/ext-psi]
/
tests
/
idn
/
idn004.phpt
diff --git
a/tests/idn/idn004.phpt
b/tests/idn/idn004.phpt
index e550d2bf0fa77236310d457e014e2f904aa6811c..471d0917dbd2951f97c7cf0144436f240e0dc86e 100644
(file)
--- a/
tests/idn/idn004.phpt
+++ b/
tests/idn/idn004.phpt
@@
-5,10
+5,11
@@
psi.directory={PWD}/../../psi.d:{PWD}
--SKIPIF--
<?php
extension_loaded("psi") or die("skip - need ext/psi");
--SKIPIF--
<?php
extension_loaded("psi") or die("skip - need ext/psi");
+function_exists("idn\\strerror") or die("skip - need libidn");
?>
--FILE--
===TEST===
?>
--FILE--
===TEST===
-<?php
+<?php
$result = "buecher.de";
$rc = idn\utf8_to_ascii("bücher.de", $result, IDNA_USE_STD3_ASCII_RULES);
$result = "buecher.de";
$rc = idn\utf8_to_ascii("bücher.de", $result, IDNA_USE_STD3_ASCII_RULES);
@@
-27,4
+28,4
@@
xn--bcher-kva.de
Success
xn--bcher2-3ya.de
Success
Success
xn--bcher2-3ya.de
Success
-===DONE===
\ No newline at end of file
+===DONE===