mb_encoding_aliases

PHP 5 >= 5.3.0, PHP 7, PHP 8
mb_encoding_aliases - Get aliases of a known encoding type

mb_encoding_aliases( string$encoding ): array

Returns an array of aliases for a known encoding type.

Parameters

encoding

The encoding type being checked, for aliases.

Return Values

Returns a numerically indexed array of encoding aliases on success, or false on failure

Exceptions and Errors

Emits an E_WARNING level error if encoding is unknown.

Related Functions

Example of mb_encoding_aliases

Show all examples for mb_encoding_aliases

PHP Version: