mb_encoding_aliases()
function mb_encoding_aliases(string $encoding): array
Lists the public aliases of an encoding in PHP order.
Parameters:
$encoding(string)
Returns: array
Availability
- Compiled (AOT): supported by the Elephc code generator.
eval()(magician interpreter): supported through a declarative interpreter builtin (crates/elephc-magician/src/interpreter/builtins/string/mb_encoding_aliases.rs).
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how mb_encoding_aliases is implemented in the compiler, see the internals page.