Home
last modified time | relevance | path

Searched refs:from_encoding (Results 1 – 13 of 13) sorted by relevance

/php-src/ext/mbstring/
H A Dmb_gpc.c171 const mbfl_encoding *from_encoding = NULL; in _php_mb_encoding_handler_ex() local
226 from_encoding = &mbfl_encoding_pass; in _php_mb_encoding_handler_ex()
228 from_encoding = info->from_encodings[0]; in _php_mb_encoding_handler_ex()
230from_encoding = mb_guess_encoding_for_strings((const unsigned char**)val_list, len_list, num, info… in _php_mb_encoding_handler_ex()
231 if (!from_encoding) { in _php_mb_encoding_handler_ex()
235 from_encoding = &mbfl_encoding_pass; in _php_mb_encoding_handler_ex()
242 if (from_encoding != &mbfl_encoding_pass && info->to_encoding != &mbfl_encoding_pass) { in _php_mb_encoding_handler_ex()
244 …erted_var = mb_fast_convert((unsigned char*)val_list[n], len_list[n], from_encoding, info->to_enco… in _php_mb_encoding_handler_ex()
249 …erted_val = mb_fast_convert((unsigned char*)val_list[n], len_list[n], from_encoding, info->to_enco… in _php_mb_encoding_handler_ex()
280 return from_encoding; in _php_mb_encoding_handler_ex()
H A Dmbstring.c2034 zend_string *from_encoding = NULL; in PHP_FUNCTION() local
2041 Z_PARAM_STR_OR_NULL(from_encoding) in PHP_FUNCTION()
2065 zend_string *from_encoding = NULL; in PHP_FUNCTION() local
2072 Z_PARAM_STR_OR_NULL(from_encoding) in PHP_FUNCTION()
2718 const mbfl_encoding *from_encoding; in php_mb_convert_encoding() local
2723 from_encoding = *from_encodings; in php_mb_convert_encoding()
2727 if (!from_encoding) { in php_mb_convert_encoding()
2918 Z_PARAM_STR_OR_NULL(from_encoding) in PHP_FUNCTION()
2941 Z_PARAM_STR_OR_NULL(from_encoding) in PHP_FUNCTION()
3866 from_encoding = *elist; in PHP_FUNCTION()
[all …]
H A Dmbstring.h60 const mbfl_encoding *to_encoding, const mbfl_encoding *from_encoding);
H A Dmbstring.stub.php127 …ncoding(array|string $string, string $to_encoding, array|string|null $from_encoding = null): array… argument
172 function mb_convert_variables(string $to_encoding, array|string $from_encoding, mixed &$var, mixed … argument
H A Dmbstring_arginfo.h105 ZEND_ARG_TYPE_MASK(0, from_encoding, MAY_BE_ARRAY|MAY_BE_STRING|MAY_BE_NULL, "null")
168 ZEND_ARG_TYPE_MASK(0, from_encoding, MAY_BE_ARRAY|MAY_BE_STRING, NULL)
/php-src/ext/mbstring/tests/
H A Dbug79149.phpt25 mb_convert_encoding(): Argument #3 ($from_encoding) contains invalid encoding "0"
28 mb_convert_encoding(): Argument #3 ($from_encoding) contains invalid encoding "Array"
29 mb_convert_encoding(): Argument #3 ($from_encoding) contains invalid encoding "foo"
H A Dmb_convert_encoding_empty_encoding_list.phpt23 mb_convert_encoding(): Argument #3 ($from_encoding) must specify at least one encoding
24 mb_convert_encoding(): Argument #3 ($from_encoding) must specify at least one encoding
H A Dmb_convert_variables_empty_encoding_list.phpt23 mb_convert_variables(): Argument #2 ($from_encoding) must specify at least one encoding
24 mb_convert_variables(): Argument #2 ($from_encoding) must specify at least one encoding
H A Dbug79154.phpt2 Bug 79154 (mb_convert_encoding() can modify $from_encoding)
H A Dmb_str_unknown_encoding.phpt147 mb_convert_encoding(): Argument #3 ($from_encoding) contains invalid encoding "UTF-0"
/php-src/ext/iconv/
H A Diconv.stub.php48 function iconv(string $from_encoding, string $to_encoding, string $string): string|false {} argument
H A Diconv_arginfo.h48 ZEND_ARG_TYPE_INFO(0, from_encoding, IS_STRING, 0)
/php-src/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_convert.c111 const mbfl_encoding *from_encoding = mbfl_no2encoding(vtbl->from); in mbfl_convert_filter_new2() local
115 …mbfl_convert_filter_init(filter, from_encoding, to_encoding, vtbl, output_function, flush_function… in mbfl_convert_filter_new2()

Completed in 30 milliseconds