略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: 预定义常量

2024-04-29

预定义常量

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

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

注意:

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

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() 的位掩码
add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/iconv.constants.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3