预定义常量

PHP 4.3.0 起,它能够在运行时识别此扩展使用了哪种实现(implementation)。

iconv 常量
名称 类型 描述
ICONV_IMPL string 实现(implementation)的名称
ICONV_VERSION string 实现(implementation)的版本

Note:

通过这些常量编写依赖于实现的脚本是极其不建议的。

PHP 5.0.0 起,以下常量同样有效:

自 PHP 5.0.0 起的 iconv 常量
名称 类型 描述
ICONV_MIME_DECODE_STRICT integer 使用于 iconv_mime_decode() 的位掩码
ICONV_MIME_DECODE_CONTINUE_ON_ERROR integer 使用于 iconv_mime_decode() 的位掩码

User Contributed Notes

There are no user contributed notes for this page.