flush
[m6w6/ext-psi] / tests / idn / idn002.phpt
index 9f092b1e77eb4966b19d082095c35791715190bc..d3d3375aaaaf421c88e0f22dd3f3978c4807225d 100644 (file)
@@ -1,14 +1,15 @@
 --TEST--
 libidn
 --INI--
-psi.directory={PWD}
+psi.directory={PWD}/../../psi.d:{PWD}
 --SKIPIF--
 <?php
 extension_loaded("psi") or die("skip - need ext/psi");
+function_exists("idn\\strerror") or die("skip - need libidn");
 ?>
 --FILE--
 ===TEST===
-<?php 
+<?php
 
 $rc = idn\utf8_to_ascii("…asdf….de", $result, IDNA_USE_STD3_ASCII_RULES);
 printf("%s\n", $result);
@@ -20,4 +21,4 @@ printf("%s\n", idn\strerror($rc));
 ===TEST===
 
 Non-digit/letter/hyphen in input
-===DONE===
\ No newline at end of file
+===DONE===