Home
last modified time | relevance | path

Searched refs:to_enc (Results 1 – 3 of 3) sorted by relevance

/PHP-7.2/ext/mbstring/tests/
H A Dmb_substr_count.phpt23 $to_enc = "UTF-8";
24 var_dump(@mb_substr_count(mb_convert_encoding($a, $to_enc),
25 mb_convert_encoding($b, $to_enc), $to_enc));
27 $to_enc = "Shift_JIS";
28 var_dump(@mb_substr_count(mb_convert_encoding($a, $to_enc),
29 mb_convert_encoding($b, $to_enc), $to_enc));
/PHP-7.2/ext/xmlrpc/libxmlrpc/
H A Dencodings.c52 …ar* convert(const char* src, int src_len, int *new_len, const char* from_enc, const char* to_enc) { in convert() argument
55 if(src && src_len && from_enc && to_enc) { in convert()
62 if(strlen(to_enc) >= ICONV_CSNMAXLEN || strlen(from_enc) >= ICONV_CSNMAXLEN) { in convert()
65 ic = iconv_open(to_enc, from_enc); in convert()
/PHP-7.2/ext/mbstring/
H A Dmbstring.c3855 char *to_enc; in PHP_FUNCTION() local
3859 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "sz+", &to_enc, &to_enc_len, &zfrom_enc, &args, &argc) … in PHP_FUNCTION()
3864 to_encoding = mbfl_name2encoding(to_enc); in PHP_FUNCTION()
3866 php_error_docref(NULL, E_WARNING, "Unknown encoding \"%s\"", to_enc); in PHP_FUNCTION()

Completed in 19 milliseconds