Lines Matching refs:MBSTRG

224 		zend_string *last_encoding_name = MBSTRG(last_used_encoding_name);  in php_mb_get_encoding()
227 return MBSTRG(last_used_encoding); in php_mb_get_encoding()
249 MBSTRG(last_used_encoding_name) = zend_string_copy(encoding_name); in php_mb_get_encoding()
250 MBSTRG(last_used_encoding) = encoding; in php_mb_get_encoding()
253 return MBSTRG(current_internal_encoding); in php_mb_get_encoding()
301 size = 1 + count_commas(tmpstr, endp) + MBSTRG(default_detect_order_list_size); in php_mb_parse_encoding_list()
323 const enum mbfl_no_encoding *src = MBSTRG(default_detect_order_list); in php_mb_parse_encoding_list()
324 const size_t identify_list_size = MBSTRG(default_detect_order_list_size); in php_mb_parse_encoding_list()
372 size_t size = zend_hash_num_elements(target_hash) + MBSTRG(default_detect_order_list_size); in php_mb_parse_encoding_array()
387 const enum mbfl_no_encoding *src = MBSTRG(default_detect_order_list); in php_mb_parse_encoding_array()
388 const size_t identify_list_size = MBSTRG(default_detect_order_list_size); in php_mb_parse_encoding_array()
439 list = (const zend_encoding **)MBSTRG(current_detect_order_list); in php_mb_zend_encoding_detector()
440 list_size = MBSTRG(current_detect_order_list_size); in php_mb_zend_encoding_detector()
466 mbfl_buffer_converter_illegal_mode(convd, MBSTRG(current_filter_illegal_mode)); in php_mb_zend_encoding_converter()
467 mbfl_buffer_converter_illegal_substchar(convd, MBSTRG(current_filter_illegal_substchar)); in php_mb_zend_encoding_converter()
497 return (const zend_encoding *)MBSTRG(internal_encoding); in php_mb_zend_internal_encoding_getter()
502 MBSTRG(internal_encoding) = (const mbfl_encoding *)encoding; in php_mb_zend_internal_encoding_setter()
706 MBSTRG(language) = mbfl_no_language_neutral; in PHP_INI_MH()
709 MBSTRG(language) = no_language; in PHP_INI_MH()
710 …php_mb_nls_get_default_detect_order_list(no_language, &MBSTRG(default_detect_order_list), &MBSTRG(… in PHP_INI_MH()
722 if (MBSTRG(detect_order_list)) { in PHP_INI_MH()
723 pefree(ZEND_VOIDP(MBSTRG(detect_order_list)), 1); in PHP_INI_MH()
725 MBSTRG(detect_order_list) = NULL; in PHP_INI_MH()
726 MBSTRG(detect_order_list_size) = 0; in PHP_INI_MH()
734 if (MBSTRG(detect_order_list)) { in PHP_INI_MH()
735 pefree(ZEND_VOIDP(MBSTRG(detect_order_list)), 1); in PHP_INI_MH()
737 MBSTRG(detect_order_list) = list; in PHP_INI_MH()
738 MBSTRG(detect_order_list_size) = size; in PHP_INI_MH()
749 if (MBSTRG(http_input_list)) { in _php_mb_ini_mbstring_http_input_set()
750 pefree(ZEND_VOIDP(MBSTRG(http_input_list)), 1); in _php_mb_ini_mbstring_http_input_set()
752 MBSTRG(http_input_list) = list; in _php_mb_ini_mbstring_http_input_set()
753 MBSTRG(http_input_list_size) = size; in _php_mb_ini_mbstring_http_input_set()
766 MBSTRG(http_input_set) = 0; in PHP_INI_MH()
771 MBSTRG(http_input_set) = 1; in PHP_INI_MH()
782 MBSTRG(http_output_encoding) = encoding; in _php_mb_ini_mbstring_http_output_set()
783 MBSTRG(current_http_output_encoding) = encoding; in _php_mb_ini_mbstring_http_output_set()
795 MBSTRG(http_output_set) = 0; in PHP_INI_MH()
800 MBSTRG(http_output_set) = 1; in PHP_INI_MH()
817 MBSTRG(internal_encoding) = encoding; in _php_mb_ini_mbstring_internal_encoding_set()
818 MBSTRG(current_internal_encoding) = encoding; in _php_mb_ini_mbstring_internal_encoding_set()
846 MBSTRG(internal_encoding_set) = 1; in PHP_INI_MH()
850 MBSTRG(internal_encoding_set) = 0; in PHP_INI_MH()
864 MBSTRG(filter_illegal_mode) = MBFL_OUTPUTFILTER_ILLEGAL_MODE_NONE; in PHP_INI_MH()
865 MBSTRG(current_filter_illegal_mode) = MBFL_OUTPUTFILTER_ILLEGAL_MODE_NONE; in PHP_INI_MH()
867 MBSTRG(filter_illegal_mode) = MBFL_OUTPUTFILTER_ILLEGAL_MODE_LONG; in PHP_INI_MH()
868 MBSTRG(current_filter_illegal_mode) = MBFL_OUTPUTFILTER_ILLEGAL_MODE_LONG; in PHP_INI_MH()
870 MBSTRG(filter_illegal_mode) = MBFL_OUTPUTFILTER_ILLEGAL_MODE_ENTITY; in PHP_INI_MH()
871 MBSTRG(current_filter_illegal_mode) = MBFL_OUTPUTFILTER_ILLEGAL_MODE_ENTITY; in PHP_INI_MH()
873 MBSTRG(filter_illegal_mode) = MBFL_OUTPUTFILTER_ILLEGAL_MODE_CHAR; in PHP_INI_MH()
874 MBSTRG(current_filter_illegal_mode) = MBFL_OUTPUTFILTER_ILLEGAL_MODE_CHAR; in PHP_INI_MH()
878 MBSTRG(filter_illegal_substchar) = c; in PHP_INI_MH()
879 MBSTRG(current_filter_illegal_substchar) = c; in PHP_INI_MH()
884 MBSTRG(filter_illegal_mode) = MBFL_OUTPUTFILTER_ILLEGAL_MODE_CHAR; in PHP_INI_MH()
885 MBSTRG(current_filter_illegal_mode) = MBFL_OUTPUTFILTER_ILLEGAL_MODE_CHAR; in PHP_INI_MH()
886 MBSTRG(filter_illegal_substchar) = 0x3f; /* '?' */ in PHP_INI_MH()
887 MBSTRG(current_filter_illegal_substchar) = 0x3f; /* '?' */ in PHP_INI_MH()
903 if (MBSTRG(encoding_translation)) { in PHP_INI_MH()
933 if (MBSTRG(http_output_conv_mimetypes)) { in PHP_INI_MH()
934 _php_mb_free_regex(MBSTRG(http_output_conv_mimetypes)); in PHP_INI_MH()
937 MBSTRG(http_output_conv_mimetypes) = re; in PHP_INI_MH()
976 if (!MBSTRG(internal_encoding_set)) { in PHP_INI_END()
981 if (!MBSTRG(http_output_set)) { in PHP_INI_END()
986 if (!MBSTRG(http_input_set)) { in PHP_INI_END()
1073 if (MBSTRG(encoding_translation)) { in PHP_MINIT_FUNCTION()
1119 MBSTRG(current_internal_encoding) = MBSTRG(internal_encoding); in PHP_RINIT_FUNCTION()
1120 MBSTRG(current_http_output_encoding) = MBSTRG(http_output_encoding); in PHP_RINIT_FUNCTION()
1121 MBSTRG(current_filter_illegal_mode) = MBSTRG(filter_illegal_mode); in PHP_RINIT_FUNCTION()
1122 MBSTRG(current_filter_illegal_substchar) = MBSTRG(filter_illegal_substchar); in PHP_RINIT_FUNCTION()
1124 MBSTRG(illegalchars) = 0; in PHP_RINIT_FUNCTION()
1131 zend_multibyte_set_internal_encoding((const zend_encoding *)MBSTRG(internal_encoding)); in PHP_RINIT_FUNCTION()
1140 if (MBSTRG(current_detect_order_list) != NULL) { in PHP_RSHUTDOWN_FUNCTION()
1141 efree(ZEND_VOIDP(MBSTRG(current_detect_order_list))); in PHP_RSHUTDOWN_FUNCTION()
1142 MBSTRG(current_detect_order_list) = NULL; in PHP_RSHUTDOWN_FUNCTION()
1143 MBSTRG(current_detect_order_list_size) = 0; in PHP_RSHUTDOWN_FUNCTION()
1145 if (MBSTRG(outconv) != NULL) { in PHP_RSHUTDOWN_FUNCTION()
1146 MBSTRG(illegalchars) += mbfl_buffer_illegalchars(MBSTRG(outconv)); in PHP_RSHUTDOWN_FUNCTION()
1147 mbfl_buffer_converter_delete(MBSTRG(outconv)); in PHP_RSHUTDOWN_FUNCTION()
1148 MBSTRG(outconv) = NULL; in PHP_RSHUTDOWN_FUNCTION()
1152 MBSTRG(http_input_identify) = NULL; in PHP_RSHUTDOWN_FUNCTION()
1153 MBSTRG(http_input_identify_post) = NULL; in PHP_RSHUTDOWN_FUNCTION()
1154 MBSTRG(http_input_identify_get) = NULL; in PHP_RSHUTDOWN_FUNCTION()
1155 MBSTRG(http_input_identify_cookie) = NULL; in PHP_RSHUTDOWN_FUNCTION()
1156 MBSTRG(http_input_identify_string) = NULL; in PHP_RSHUTDOWN_FUNCTION()
1158 if (MBSTRG(last_used_encoding_name)) { in PHP_RSHUTDOWN_FUNCTION()
1159 zend_string_release(MBSTRG(last_used_encoding_name)); in PHP_RSHUTDOWN_FUNCTION()
1160 MBSTRG(last_used_encoding_name) = NULL; in PHP_RSHUTDOWN_FUNCTION()
1163 MBSTRG(internal_encoding_set) = 0; in PHP_RSHUTDOWN_FUNCTION()
1164 MBSTRG(http_output_set) = 0; in PHP_RSHUTDOWN_FUNCTION()
1165 MBSTRG(http_input_set) = 0; in PHP_RSHUTDOWN_FUNCTION()
1181 …php_info_print_table_row(2, "HTTP input encoding translation", MBSTRG(encoding_translation) ? "ena… in PHP_MINFO_FUNCTION()
1212 RETVAL_STRING((char *)mbfl_no_language2name(MBSTRG(language))); in PHP_FUNCTION()
1240 ZEND_ASSERT(MBSTRG(current_internal_encoding)); in PHP_FUNCTION()
1241 RETURN_STRING(MBSTRG(current_internal_encoding)->name); in PHP_FUNCTION()
1248 MBSTRG(current_internal_encoding) = encoding; in PHP_FUNCTION()
1249 MBSTRG(internal_encoding_set) = 1; in PHP_FUNCTION()
1271 encoding = MBSTRG(http_input_identify); in PHP_FUNCTION()
1276 encoding = MBSTRG(http_input_identify_get); in PHP_FUNCTION()
1280 encoding = MBSTRG(http_input_identify_post); in PHP_FUNCTION()
1284 encoding = MBSTRG(http_input_identify_cookie); in PHP_FUNCTION()
1288 encoding = MBSTRG(http_input_identify_string); in PHP_FUNCTION()
1292 entry = MBSTRG(http_input_list); in PHP_FUNCTION()
1293 n = MBSTRG(http_input_list_size); in PHP_FUNCTION()
1301 entry = MBSTRG(http_input_list); in PHP_FUNCTION()
1302 n = MBSTRG(http_input_list_size); in PHP_FUNCTION()
1346 ZEND_ASSERT(MBSTRG(current_http_output_encoding)); in PHP_FUNCTION()
1347 RETURN_STRING(MBSTRG(current_http_output_encoding)->name); in PHP_FUNCTION()
1354 MBSTRG(http_output_set) = 1; in PHP_FUNCTION()
1355 MBSTRG(current_http_output_encoding) = encoding; in PHP_FUNCTION()
1375 size_t n = MBSTRG(current_detect_order_list_size); in PHP_FUNCTION()
1376 const mbfl_encoding **entry = MBSTRG(current_detect_order_list); in PHP_FUNCTION()
1401 if (MBSTRG(current_detect_order_list)) { in PHP_FUNCTION()
1402 efree(ZEND_VOIDP(MBSTRG(current_detect_order_list))); in PHP_FUNCTION()
1404 MBSTRG(current_detect_order_list) = list; in PHP_FUNCTION()
1405 MBSTRG(current_detect_order_list_size) = size; in PHP_FUNCTION()
1443 if (MBSTRG(current_filter_illegal_mode) == MBFL_OUTPUTFILTER_ILLEGAL_MODE_NONE) { in PHP_FUNCTION()
1446 if (MBSTRG(current_filter_illegal_mode) == MBFL_OUTPUTFILTER_ILLEGAL_MODE_LONG) { in PHP_FUNCTION()
1449 if (MBSTRG(current_filter_illegal_mode) == MBFL_OUTPUTFILTER_ILLEGAL_MODE_ENTITY) { in PHP_FUNCTION()
1452 RETURN_LONG(MBSTRG(current_filter_illegal_substchar)); in PHP_FUNCTION()
1457 MBSTRG(current_filter_illegal_mode) = MBFL_OUTPUTFILTER_ILLEGAL_MODE_NONE; in PHP_FUNCTION()
1461 MBSTRG(current_filter_illegal_mode) = MBFL_OUTPUTFILTER_ILLEGAL_MODE_LONG; in PHP_FUNCTION()
1465 MBSTRG(current_filter_illegal_mode) = MBFL_OUTPUTFILTER_ILLEGAL_MODE_ENTITY; in PHP_FUNCTION()
1478 MBSTRG(current_filter_illegal_mode) = MBFL_OUTPUTFILTER_ILLEGAL_MODE_CHAR; in PHP_FUNCTION()
1479 MBSTRG(current_filter_illegal_substchar) = substitute_codepoint; in PHP_FUNCTION()
1535 info.to_encoding = MBSTRG(current_internal_encoding); in PHP_FUNCTION()
1536 info.from_encodings = MBSTRG(http_input_list); in PHP_FUNCTION()
1537 info.num_from_encodings = MBSTRG(http_input_list_size); in PHP_FUNCTION()
1541 MBSTRG(http_input_identify) = detected; in PHP_FUNCTION()
1569 encoding = MBSTRG(current_http_output_encoding); in PHP_FUNCTION()
1574 if (MBSTRG(outconv)) { in PHP_FUNCTION()
1575 MBSTRG(illegalchars) += mbfl_buffer_illegalchars(MBSTRG(outconv)); in PHP_FUNCTION()
1576 mbfl_buffer_converter_delete(MBSTRG(outconv)); in PHP_FUNCTION()
1577 MBSTRG(outconv) = NULL; in PHP_FUNCTION()
1587 MBSTRG(http_output_conv_mimetypes), in PHP_FUNCTION()
1610 MBSTRG(outconv) = mbfl_buffer_converter_new(MBSTRG(current_internal_encoding), encoding, 0); in PHP_FUNCTION()
1618 if (MBSTRG(outconv) == NULL) { in PHP_FUNCTION()
1625 mbfl_buffer_converter_illegal_mode(MBSTRG(outconv), MBSTRG(current_filter_illegal_mode)); in PHP_FUNCTION()
1626 mbfl_buffer_converter_illegal_substchar(MBSTRG(outconv), MBSTRG(current_filter_illegal_substchar)); in PHP_FUNCTION()
1636 mbfl_buffer_converter_feed(MBSTRG(outconv), &string); in PHP_FUNCTION()
1638 mbfl_buffer_converter_flush(MBSTRG(outconv)); in PHP_FUNCTION()
1641 mbfl_buffer_converter_result(MBSTRG(outconv), &result); in PHP_FUNCTION()
1649 MBSTRG(illegalchars) += mbfl_buffer_illegalchars(MBSTRG(outconv)); in PHP_FUNCTION()
1650 mbfl_buffer_converter_delete(MBSTRG(outconv)); in PHP_FUNCTION()
1651 MBSTRG(outconv) = NULL; in PHP_FUNCTION()
2366 …mb_convert_buf_init(&buf, ZSTR_LEN(input) - n, MBSTRG(current_filter_illegal_substchar), MBSTRG(cu… in mb_drop_chars()
2393 …mb_convert_buf_init(&buf, n, MBSTRG(current_filter_illegal_substchar), MBSTRG(current_filter_illeg… in mb_pick_chars()
2436 …mb_convert_buf_init(&buf, width, MBSTRG(current_filter_illegal_substchar), MBSTRG(current_filter_i… in mb_trim_string()
2569 …ed char*)input, length, from_encoding, to_encoding, MBSTRG(current_filter_illegal_substchar), MBST… in php_mb_convert_encoding_ex()
2570 MBSTRG(illegalchars) += num_errors; in php_mb_convert_encoding_ex()
2589 &string, from_encodings, num_from_encodings, MBSTRG(strict_detection)); in php_mb_convert_encoding()
2733 from_encodings = &MBSTRG(current_internal_encoding); in PHP_FUNCTION()
2773 MBSTRG(current_filter_illegal_mode), MBSTRG(current_filter_illegal_substchar)); in mbstring_convert_case()
2908 …elist = duplicate_elist(MBSTRG(current_detect_order_list), MBSTRG(current_detect_order_list_size)); in PHP_FUNCTION()
2909 size = MBSTRG(current_detect_order_list_size); in PHP_FUNCTION()
2925 strict = MBSTRG(strict_detection); in PHP_FUNCTION()
2996 string.encoding = MBSTRG(current_internal_encoding); in PHP_FUNCTION()
3020 const mbfl_language *lang = mbfl_no2language(MBSTRG(language)); in PHP_FUNCTION()
3050 string.encoding = MBSTRG(current_internal_encoding); in PHP_FUNCTION()
3058 ret = mbfl_mime_header_decode(&string, &result, MBSTRG(current_internal_encoding)); in PHP_FUNCTION()
3079 …mb_convert_buf_init(&buf, in_len, MBSTRG(current_filter_illegal_substchar), MBSTRG(current_filter_… in jp_kana_convert()
3354 from_encoding = MBSTRG(current_internal_encoding); in PHP_FUNCTION()
3380 identd = mbfl_encoding_detector_new(elist, elistsz, MBSTRG(strict_detection)); in PHP_FUNCTION()
3411 mbfl_buffer_converter_illegal_mode(convd, MBSTRG(current_filter_illegal_mode)); in PHP_FUNCTION()
3412 mbfl_buffer_converter_illegal_substchar(convd, MBSTRG(current_filter_illegal_substchar)); in PHP_FUNCTION()
3427 MBSTRG(illegalchars) += mbfl_buffer_illegalchars(convd); in PHP_FUNCTION()
3497 …mb_convert_buf_init(&buf, in_len, MBSTRG(current_filter_illegal_substchar), MBSTRG(current_filter_… in html_numeric_entity_encode()
3614 …mb_convert_buf_init(&buf, in_len, MBSTRG(current_filter_illegal_substchar), MBSTRG(current_filter_… in html_numeric_entity_decode()
4018 lang = mbfl_no2language(MBSTRG(language)); in PHP_FUNCTION()
4141 orig_str.encoding = MBSTRG(current_internal_encoding); in PHP_FUNCTION()
4144 …= mbfl_identify_encoding(&orig_str, MBSTRG(current_detect_order_list), MBSTRG(current_detect_order… in PHP_FUNCTION()
4156 orig_str.encoding = MBSTRG(current_internal_encoding); in PHP_FUNCTION()
4160 …= mbfl_identify_encoding(&orig_str, MBSTRG(current_detect_order_list), MBSTRG(current_detect_order… in PHP_FUNCTION()
4271 const mbfl_language *lang = mbfl_no2language(MBSTRG(language)); in PHP_FUNCTION()
4281 if (MBSTRG(current_internal_encoding)) { in PHP_FUNCTION()
4282 …add_assoc_string(return_value, "internal_encoding", (char *)MBSTRG(current_internal_encoding)->nam… in PHP_FUNCTION()
4284 if (MBSTRG(http_input_identify)) { in PHP_FUNCTION()
4285 add_assoc_string(return_value, "http_input", (char *)MBSTRG(http_input_identify)->name); in PHP_FUNCTION()
4287 if (MBSTRG(current_http_output_encoding)) { in PHP_FUNCTION()
4288 … add_assoc_string(return_value, "http_output", (char *)MBSTRG(current_http_output_encoding)->name); in PHP_FUNCTION()
4304 add_assoc_long(return_value, "illegal_chars", MBSTRG(illegalchars)); in PHP_FUNCTION()
4305 if (MBSTRG(encoding_translation)) { in PHP_FUNCTION()
4310 if ((name = (char *)mbfl_no_language2name(MBSTRG(language))) != NULL) { in PHP_FUNCTION()
4313 n = MBSTRG(current_detect_order_list_size); in PHP_FUNCTION()
4314 entry = MBSTRG(current_detect_order_list); in PHP_FUNCTION()
4324 if (MBSTRG(current_filter_illegal_mode) == MBFL_OUTPUTFILTER_ILLEGAL_MODE_NONE) { in PHP_FUNCTION()
4326 } else if (MBSTRG(current_filter_illegal_mode) == MBFL_OUTPUTFILTER_ILLEGAL_MODE_LONG) { in PHP_FUNCTION()
4328 } else if (MBSTRG(current_filter_illegal_mode) == MBFL_OUTPUTFILTER_ILLEGAL_MODE_ENTITY) { in PHP_FUNCTION()
4331 add_assoc_long(return_value, "substitute_character", MBSTRG(current_filter_illegal_substchar)); in PHP_FUNCTION()
4333 if (MBSTRG(strict_detection)) { in PHP_FUNCTION()
4339 if (MBSTRG(current_internal_encoding)) { in PHP_FUNCTION()
4340 RETVAL_STRING((char *)MBSTRG(current_internal_encoding)->name); in PHP_FUNCTION()
4343 if (MBSTRG(http_input_identify)) { in PHP_FUNCTION()
4344 RETVAL_STRING((char *)MBSTRG(http_input_identify)->name); in PHP_FUNCTION()
4347 if (MBSTRG(current_http_output_encoding)) { in PHP_FUNCTION()
4348 RETVAL_STRING((char *)MBSTRG(current_http_output_encoding)->name); in PHP_FUNCTION()
4367 RETVAL_LONG(MBSTRG(illegalchars)); in PHP_FUNCTION()
4369 if (MBSTRG(encoding_translation)) { in PHP_FUNCTION()
4375 if ((name = (char *)mbfl_no_language2name(MBSTRG(language))) != NULL) { in PHP_FUNCTION()
4379 n = MBSTRG(current_detect_order_list_size); in PHP_FUNCTION()
4380 entry = MBSTRG(current_detect_order_list); in PHP_FUNCTION()
4390 if (MBSTRG(current_filter_illegal_mode) == MBFL_OUTPUTFILTER_ILLEGAL_MODE_NONE) { in PHP_FUNCTION()
4392 } else if (MBSTRG(current_filter_illegal_mode) == MBFL_OUTPUTFILTER_ILLEGAL_MODE_LONG) { in PHP_FUNCTION()
4394 } else if (MBSTRG(current_filter_illegal_mode) == MBFL_OUTPUTFILTER_ILLEGAL_MODE_ENTITY) { in PHP_FUNCTION()
4397 RETVAL_LONG(MBSTRG(current_filter_illegal_substchar)); in PHP_FUNCTION()
4400 if (MBSTRG(strict_detection)) { in PHP_FUNCTION()
4524 RETURN_BOOL(MBSTRG(illegalchars) == 0); in PHP_FUNCTION()
4653 long orig_illegalchars = MBSTRG(illegalchars); in php_mb_chr()
4654 MBSTRG(illegalchars) = 0; in php_mb_chr()
4657 if (MBSTRG(illegalchars) != 0) { in php_mb_chr()
4662 MBSTRG(illegalchars) = orig_illegalchars; in php_mb_chr()
4717 if (MBSTRG(detect_order_list) && MBSTRG(detect_order_list_size)) { in php_mb_populate_current_detect_order_list()
4718 nentries = MBSTRG(detect_order_list_size); in php_mb_populate_current_detect_order_list()
4720 memcpy(ZEND_VOIDP(entry), MBSTRG(detect_order_list), sizeof(mbfl_encoding*) * nentries); in php_mb_populate_current_detect_order_list()
4722 const enum mbfl_no_encoding *src = MBSTRG(default_detect_order_list); in php_mb_populate_current_detect_order_list()
4724 nentries = MBSTRG(default_detect_order_list_size); in php_mb_populate_current_detect_order_list()
4730 MBSTRG(current_detect_order_list) = entry; in php_mb_populate_current_detect_order_list()
4731 MBSTRG(current_detect_order_list_size) = nentries; in php_mb_populate_current_detect_order_list()
4738 return MBSTRG(encoding_translation); in php_mb_encoding_translation()
4846 *list = (const zend_encoding **)MBSTRG(http_input_list); in php_mb_gpc_get_detect_order()
4847 *list_size = MBSTRG(http_input_list_size); in php_mb_gpc_get_detect_order()
4853 MBSTRG(http_input_identify) = (const mbfl_encoding*)encoding; in php_mb_gpc_set_input_encoding()