Home
last modified time | relevance | path

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

/PHP-8.0/ext/mbstring/
H A Dmb_gpc.c185 const mbfl_encoding *from_encoding = NULL; in _php_mb_encoding_handler_ex() local
248 from_encoding = &mbfl_encoding_pass; in _php_mb_encoding_handler_ex()
250 from_encoding = info->from_encodings[0]; in _php_mb_encoding_handler_ex()
253 from_encoding = NULL; in _php_mb_encoding_handler_ex()
265 from_encoding = mbfl_encoding_detector_judge(identd); in _php_mb_encoding_handler_ex()
268 if (!from_encoding) { in _php_mb_encoding_handler_ex()
272 from_encoding = &mbfl_encoding_pass; in _php_mb_encoding_handler_ex()
277 if (from_encoding != &mbfl_encoding_pass) { in _php_mb_encoding_handler_ex()
278 convd = mbfl_buffer_converter_new(from_encoding, info->to_encoding, 0); in _php_mb_encoding_handler_ex()
291 string.encoding = from_encoding; in _php_mb_encoding_handler_ex()
[all …]
H A Dmbstring.c1939 zend_string *from_encoding = NULL; in PHP_FUNCTION() local
1974 zend_string *from_encoding = NULL; in PHP_FUNCTION() local
2373 string.encoding = from_encoding; in php_mb_convert_encoding_ex()
2413 from_encoding = *from_encodings; in php_mb_convert_encoding()
2422 if (!from_encoding) { in php_mb_convert_encoding()
2594 zend_string *from_encoding = NULL; in PHP_FUNCTION() local
2629 zend_string *from_encoding = NULL; in PHP_FUNCTION() local
2657 zend_string *from_encoding = NULL; in PHP_FUNCTION() local
3110 from_encoding = *elist; in PHP_FUNCTION()
3113 from_encoding = NULL; in PHP_FUNCTION()
[all …]
H A Dmbstring.h63 const mbfl_encoding *to_encoding, const mbfl_encoding *from_encoding, size_t *output_len);
H A Dmbstring.stub.php54 …ncoding(array|string $string, string $to_encoding, array|string|null $from_encoding = null): array… argument
74 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.0/ext/mbstring/tests/
H A Dbug79149.phpt27 mb_convert_encoding(): Argument #3 ($from_encoding) contains invalid encoding "0"
30 mb_convert_encoding(): Argument #3 ($from_encoding) contains invalid encoding "Array"
31 mb_convert_encoding(): Argument #3 ($from_encoding) contains invalid encoding "foo"
H A Dmb_convert_variables_empty_encoding_list.phpt25 mb_convert_variables(): Argument #2 ($from_encoding) must specify at least one encoding
26 mb_convert_variables(): Argument #2 ($from_encoding) must specify at least one encoding
H A Dmb_convert_encoding_empty_encoding_list.phpt26 mb_convert_encoding(): Argument #3 ($from_encoding) must specify at least one encoding
27 mb_convert_encoding(): Argument #3 ($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.0/ext/iconv/
H A Diconv.stub.php19 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.0/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_convert.c162 const mbfl_encoding *from_encoding = mbfl_no2encoding(vtbl->from); in mbfl_convert_filter_new2() local
166 …mbfl_convert_filter_common_init(filter, from_encoding, to_encoding, vtbl, output_function, flush_f… in mbfl_convert_filter_new2()

Completed in 34 milliseconds