mb_list_encodings()
function mb_list_encodings(): array
Lists every supported canonical encoding in PHP order.
Parameters: none.
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_list_encodings.rs).
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how mb_list_encodings is implemented in the compiler, see the internals page.