Predefined Constants

It is possible to identify at runtime which iconv implementation is adopted by this extension.

iconv implementation constants
NameTypeDescription
ICONV_IMPLstringThe implementation name
ICONV_VERSIONstringThe implementation version

Note:

Writing implementation-dependent scripts with these constants is strongly discouraged.

The following constants are also available:

Other iconv constants
NameTypeDescription
ICONV_MIME_DECODE_STRICTintA bitmask used for iconv_mime_decode()
ICONV_MIME_DECODE_CONTINUE_ON_ERRORintA bitmask used for iconv_mime_decode()
To Top