Searched refs:from_encoding (Results 1 – 13 of 13) sorted by relevance
/PHP-8.4/ext/mbstring/ |
H A D | mb_gpc.c | 171 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() 230 …from_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 D | mbstring.c | 2034 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 D | mbstring.h | 60 const mbfl_encoding *to_encoding, const mbfl_encoding *from_encoding);
|
H A D | mbstring.stub.php | 127 …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 D | mbstring_arginfo.h | 105 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-8.4/ext/mbstring/tests/ |
H A D | bug79149.phpt | 25 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 D | mb_convert_encoding_empty_encoding_list.phpt | 23 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 D | mb_convert_variables_empty_encoding_list.phpt | 23 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 D | bug79154.phpt | 2 Bug 79154 (mb_convert_encoding() can modify $from_encoding)
|
H A D | mb_str_unknown_encoding.phpt | 147 mb_convert_encoding(): Argument #3 ($from_encoding) contains invalid encoding "UTF-0"
|
/PHP-8.4/ext/iconv/ |
H A D | iconv.stub.php | 48 function iconv(string $from_encoding, string $to_encoding, string $string): string|false {} argument
|
H A D | iconv_arginfo.h | 48 ZEND_ARG_TYPE_INFO(0, from_encoding, IS_STRING, 0)
|
/PHP-8.4/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_convert.c | 111 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 38 milliseconds