Search Results

  1. Get aliases of a known encoding type

  2. Mar 29, 2023 · Return value: The numerically indexed array for encoding aliases will be returned. Example 1: The following code demonstrates the mb_encoding_aliases () function.

  3. Examples of mb_encoding_aliases. Info and examples on mb_encoding_aliases PHP Function

  4. In PHP, mb_encoding_aliases () is used to get the aliases of a known encoding type. This function returns all alternative names for a specified character encoding, which is useful when working with different systems that may use varying naming conventions for the same encoding.

  5. The above example will output something similar to: Array ( [0] => ANSI_X3.4-1968 [1] => iso-ir-6 [2] => ANSI_X3.4-1986 [3] => ISO_646.irv:1991 [4] => US-ASCII [5 ...

  6. mb_encoding_aliases Supported Versions: PHP 5 >= 5.3.0, PHP 7, PHP 8 Get aliases of a known encoding type

  7. Return Values Returns a numerically indexed array of encoding aliases on success, or FALSE on failure

  1. People also search for