iconv_get_encoding

PHP 4 >= 4.0.5, PHP 5, PHP 7, PHP 8
iconv_get_encoding - Retrieve internal configuration variables of iconv extension
Manual
Code Examples

iconv_get_encoding( [string$type = "all"] ): array|string|false

Retrieve internal configuration variables of iconv extension.

Parameters

type

The value of the optional type can be: all input_encoding output_encoding internal_encoding

Return Values

Returns the current value of the internal configuration variable if successful or false on failure.

If type is omitted or set to "all", iconv_get_encoding returns an array that stores all these variables.

Related Functions

Example of iconv_get_encoding

Show all examples for iconv_get_encoding

PHP Version:


Function iconv_get_encoding:

iconv Functions

Most used PHP functions