Home
last modified time | relevance | path

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

/PHP-8.2/ext/mbstring/
H A Dmb_gpc.c179 const mbfl_encoding *from_encoding = NULL; in _php_mb_encoding_handler_ex() local
234 from_encoding = &mbfl_encoding_pass; in _php_mb_encoding_handler_ex()
236 from_encoding = info->from_encodings[0]; in _php_mb_encoding_handler_ex()
239 from_encoding = NULL; in _php_mb_encoding_handler_ex()
252 from_encoding = mbfl_encoding_detector_judge(identd); in _php_mb_encoding_handler_ex()
255 if (!from_encoding) { in _php_mb_encoding_handler_ex()
259 from_encoding = &mbfl_encoding_pass; in _php_mb_encoding_handler_ex()
266 if (from_encoding != &mbfl_encoding_pass && info->to_encoding != &mbfl_encoding_pass) { in _php_mb_encoding_handler_ex()
268 …erted_var = mb_fast_convert((unsigned char*)val_list[n], len_list[n], from_encoding, info->to_enco… in _php_mb_encoding_handler_ex()
273 …erted_val = mb_fast_convert((unsigned char*)val_list[n], len_list[n], from_encoding, info->to_enco… in _php_mb_encoding_handler_ex()
[all …]
H A Dmbstring.c1964 zend_string *from_encoding = NULL; in PHP_FUNCTION() local
1971 Z_PARAM_STR_OR_NULL(from_encoding) in PHP_FUNCTION()
1999 zend_string *from_encoding = NULL; in PHP_FUNCTION() local
2581 from_encoding = *from_encodings; in php_mb_convert_encoding()
2590 if (!from_encoding) { in php_mb_convert_encoding()
2779 zend_string *from_encoding = NULL; in PHP_FUNCTION() local
2814 zend_string *from_encoding = NULL; in PHP_FUNCTION() local
2842 zend_string *from_encoding = NULL; in PHP_FUNCTION() local
3376 from_encoding = *elist; in PHP_FUNCTION()
3379 from_encoding = NULL; 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
163 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")
154 ZEND_ARG_TYPE_MASK(0, from_encoding, MAY_BE_ARRAY|MAY_BE_STRING, NULL)
/PHP-8.2/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-8.2/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-8.2/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_convert.c134 const mbfl_encoding *from_encoding = mbfl_no2encoding(vtbl->from); in mbfl_convert_filter_new2() local
138 …mbfl_convert_filter_init(filter, from_encoding, to_encoding, vtbl, output_function, flush_function… in mbfl_convert_filter_new2()
/PHP-8.2/
H A DUPGRADING227 if multiple encodings are passed to from_encoding

Completed in 35 milliseconds