php-src/ext/iconv/tests/skipif.inc
Marcus Boerger 6829a7a5b1 fix this tests
-they did not dl load module in test....
-disable E_NOTICE
2002-10-28 17:15:21 +00:00

11 lines
294 B
PHP

<?php
// This script prints "skip" if condition does not meet.
if (!extension_loaded("iconv") && ini_get("enable_dl")) {
$dlext = (substr(PHP_OS, 0, 3) == "WIN") ? ".dll" : ".so";
@dl("iconv$dlext");
}
if (!extension_loaded("iconv")) {
die("skip iconv extension not available\n");
}
?>