diff options
author | Marcus Boerger <helly@php.net> | 2002-10-28 17:15:21 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2002-10-28 17:15:21 +0000 |
commit | 6829a7a5b1ce6e372204bdc9abdbca80f463bf94 (patch) | |
tree | b68aa5e8d779093d4272b678ec1d6c6d354d8cd2 /ext/iconv/tests/test.inc | |
parent | a78d5eb8873fc384d933aad4e79a05ccde0f89a2 (diff) | |
download | php-git-6829a7a5b1ce6e372204bdc9abdbca80f463bf94.tar.gz |
fix this tests
-they did not dl load module in test....
-disable E_NOTICE
Diffstat (limited to 'ext/iconv/tests/test.inc')
-rw-r--r-- | ext/iconv/tests/test.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/iconv/tests/test.inc b/ext/iconv/tests/test.inc new file mode 100644 index 0000000000..360c309632 --- /dev/null +++ b/ext/iconv/tests/test.inc @@ -0,0 +1,8 @@ +<?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"); +} +?>
\ No newline at end of file |