Home
last modified time | relevance | path

Searched refs:to_encoding (Results 1 – 10 of 10) sorted by relevance

/php-src/ext/mbstring/
H A Dmb_gpc.c128 info.to_encoding = MBSTRG(internal_encoding); in ZEND_EXTERN_MODULE_GLOBALS()
242 if (from_encoding != &mbfl_encoding_pass && info->to_encoding != &mbfl_encoding_pass) { in _php_mb_encoding_handler_ex()
244 …convert((unsigned char*)val_list[n], len_list[n], from_encoding, info->to_encoding, MBSTRG(current… in _php_mb_encoding_handler_ex()
249 …convert((unsigned char*)val_list[n], len_list[n], from_encoding, info->to_encoding, MBSTRG(current… in _php_mb_encoding_handler_ex()
296 info.to_encoding = MBSTRG(internal_encoding); in SAPI_POST_HANDLER_FUNC()
H A Dmb_gpc.h25 const mbfl_encoding *to_encoding; member
H A Dmbstring.h60 const mbfl_encoding *to_encoding, const mbfl_encoding *from_encoding);
62 const char *input, size_t length, const mbfl_encoding *to_encoding,
H A Dmbstring.stub.php127 function mb_convert_encoding(array|string $string, string $to_encoding, array|string|null $from_enc… argument
172 function mb_convert_variables(string $to_encoding, array|string $from_encoding, mixed &$var, mixed … argument
H A Dmbstring.c1541 info.to_encoding = MBSTRG(current_internal_encoding); in PHP_FUNCTION()
2733 return php_mb_convert_encoding_ex(input, length, to_encoding, from_encoding); in php_mb_convert_encoding()
2787 Z_ARRVAL_P(entry), to_encoding, from_encodings, num_from_encodings); in php_mb_convert_encoding_recursive()
2852 const mbfl_encoding *to_encoding = php_mb_get_encoding(to_encoding_name, 2); in PHP_FUNCTION() local
2853 if (!to_encoding) { in PHP_FUNCTION()
2894 input_ht, to_encoding, from_encodings, num_from_encodings); in PHP_FUNCTION()
3799 if (mb_recursive_convert_variable(entry, from_encoding, to_encoding)) { in mb_recursive_convert_variable()
3822 const mbfl_encoding *from_encoding, *to_encoding; in PHP_FUNCTION() local
3834 to_encoding = php_mb_get_encoding(to_enc_str, 1); in PHP_FUNCTION()
3835 if (!to_encoding) { in PHP_FUNCTION()
[all …]
H A Dmbstring_arginfo.h104 ZEND_ARG_TYPE_INFO(0, to_encoding, IS_STRING, 0)
167 ZEND_ARG_TYPE_INFO(0, to_encoding, IS_STRING, 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.h49 ZEND_ARG_TYPE_INFO(0, to_encoding, IS_STRING, 0)
/php-src/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_convert.c112 const mbfl_encoding *to_encoding = mbfl_no2encoding(vtbl->to); 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()
/php-src/ext/mbstring/tests/
H A Dmb_convert_encoding.phpt125 mb_convert_encoding(): Argument #2 ($to_encoding) must be a valid encoding, "BAD" given

Completed in 30 milliseconds