mb_list_encodings
facade/ignition
Supported Versions: PHP 5, PHP 7, PHP 8
Returns an array of all supported encodings
<?php mb_list_encodings
(): array