Symfony\Polyfill\Mbstring

Mbstring::mb_get_info │ public static │ CF7 1.0

Метод класса: Mbstring{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$result = Mbstring::mb_get_info( $type );
$type
.
По умолчанию: 'all'

Код Mbstring::mb_get_info() CF7 6.2.4.1

public static function mb_get_info($type = 'all')
{
    $info = [
        'internal_encoding' => self::$internalEncoding,
        'http_output' => 'pass',
        'http_output_conv_mimetypes' => '^(text/|application/xhtml\+xml)',
        'func_overload' => 0,
        'func_overload_list' => 'no overload',
        'mail_charset' => 'UTF-8',
        'mail_header_encoding' => 'BASE64',
        'mail_body_encoding' => 'BASE64',
        'illegal_chars' => 0,
        'encoding_translation' => 'Off',
        'language' => self::$language,
        'detect_order' => self::$encodingList,
        'substitute_character' => 'none',
        'strict_detection' => 'Off',
    ];

    if ('all' === $type) {
        return $info;
    }
    if (isset($info[$type])) {
        return $info[$type];
    }

    return false;
}