summaryrefslogtreecommitdiff
path: root/ext/iconv/tests/skipif.inc
blob: 6f7bbf2b86523bc1e0b45246cf279fbb85997aef (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 (!extension_loaded("iconv")) {
    die("skip iconv extension not available\n");
}
?>