array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'function.mb-get-info.php', 1 => 'mb_get_info', ), 'up' => array ( 0 => 'ref.mbstring.php', 1 => 'マルチバイト文字列 関数', ), 'prev' => array ( 0 => 'function.mb-eregi.php', 1 => 'mb_eregi', ), 'next' => array ( 0 => 'function.mb-http-input.php', 1 => 'mb_http_input', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'ja', 'path' => 'reference/mbstring/functions/mb-get-info.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8)
mb_get_info — mbstring の内部設定値を取得する
mb_get_info() は、mbstring の内部設定パラメータを返します。
type
type
が指定されない場合、または、"all"
の場合、
"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"
が指定された場合、
指定された設定パラメータが返されます。
type
が指定されていない場合は型情報を含む配列、
それ以外の場合は指定した type
の値を返します。
失敗した場合に false
を返します
バージョン | 説明 |
---|---|
8.0.0 |
引数 type の "func_overload"
と "func_overload_list" はサポートされなくなりました。
|