Movatterモバイル変換


[0]ホーム

URL:


PHP 8.5.0 Alpha 2 available for testing
    mb_lcfirst »
    « mb_internal_encoding

    mb_language

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

    mb_languageSet/Get current language

    Description

    mb_language(?string$language =null):string|bool

    Set/Get the current language.

    Parameters

    language

    Used for encoding e-mail messages. The valid languages are listed in the following table.mb_send_mail() uses this setting to encode e-mail.

    LanguageCharsetEncodingAlias
    German/deISO-8859-15Quoted-PrintableDeutsch
    English/enISO-8859-1Quoted-Printable 
    Armenian/hyArmSCII-8Quoted-Printable 
    Japanese/jaISO-2022-JPBASE64 
    Korean/koISO-2022-KRBASE64 
    neutralUTF-8BASE64 
    Russian/ruKOI8-RQuoted-Printable 
    Turkish/trISO-8859-9Quoted-Printable 
    Ukrainian/uaKOI8-UQuoted-Printable 
    uniUTF-8BASE64universal
    Simplified Chinese/zh-cnHZBASE64 
    Traditional Chinese/zh-twBIG-5BASE64 

    Return Values

    Iflanguage is set andlanguage is valid, it returnstrue. Otherwise, it returnsfalse. Whenlanguage is omitted ornull, it returns the language name as astring.

    Changelog

    VersionDescription
    8.0.0language is nullable now.

    See Also

    Found A Problem?

    Learn How To Improve This PageSubmit a Pull RequestReport a Bug
    add a note

    User Contributed Notes

    There are no user contributed notes for this page.
    To Top
    and to navigate •Enter to select •Esc to close
    PressEnter without selection to search using Google

    [8]ページ先頭

    ©2009-2025 Movatter.jp