mirror of
https://github.com/php/php-src.git
synced 2024-12-16 21:37:49 +08:00
11 lines
264 B
PHP
11 lines
264 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\n");
|
|
}
|
|
?>
|