fix symbol redirect detection
[m6w6/ext-psi] / tests / idn / idn004.phpt
index e550d2bf0fa77236310d457e014e2f904aa6811c..471d0917dbd2951f97c7cf0144436f240e0dc86e 100644 (file)
@@ -5,10 +5,11 @@ 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
 
 $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
-===DONE===
\ No newline at end of file
+===DONE===