summaryrefslogtreecommitdiff
path: root/ext/iconv/tests/skipif.inc
blob: 631e6f8bf387c66e03046faf9fef409e13004aa8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?php
// This script prints "skip" if condition does not meet.

// Do not dl load extension
//if (!extension_loaded("iconv") && ini_get("enable_dl")) {
//  $dlext = (substr(PHP_OS, 0, 3) == "WIN") ? ".dll" : ".so";
//  @dl("iconv$dlext");
//}
if (!function_exists("iconv")) {
    die("skip iconv function not available\n");
}
?>