mb_get_info

(PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8)

mb_get_infoПолучает внутренние настройки mbstring

Описание

mb_get_info(string $type = "all"): array|string|int|false

mb_get_info() возвращает внутренние параметры настроек mbstring.

Список параметров

type

Если type не указан, или указан как "all", будет возвращён массив (array), содержащий элементы "internal_encoding", "http_input", "http_output", "http_output_conv_mimetypes", "mail_charset", "mail_header_encoding", "mail_body_encoding", "illegal_chars", "encoding_translation", "language", "detect_order", "substitute_character" и "strict_detection".

Если type указан как "internal_encoding", "http_input", "http_output", "http_output_conv_mimetypes", "mail_charset", "mail_header_encoding", "mail_body_encoding", "illegal_chars", "encoding_translation", "language", "detect_order", "substitute_character" или "strict_detection", будет возвращена настройка указанного параметра.

Возвращаемые значения

Массив (array) информации о параметрах, если type не указан, в противном случае значение заданного параметра type, или false в случае возникновения ошибки.

Список изменений

Версия Описание
8.0.0 type больше не поддерживает "func_overload" и "func_overload_list".

Смотрите также

  • mb_regex_encoding() - Устанавливает/получает текущую кодировку для многобайтового регулярного выражения
  • mb_http_output() - Установка/получение кодировки символов вывода HTTP

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top