Home
last modified time | relevance | path

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

/PHP-7.0/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.0/ext/xmlrpc/libxmlrpc/
H A Dencodings.c61 …ar* convert(const char* src, int src_len, int *new_len, const char* from_enc, const char* to_enc) { in convert() argument
64 if(src && src_len && from_enc && to_enc) { in convert()
71 if(strlen(to_enc) >= ICONV_CSNMAXLEN || strlen(from_enc) >= ICONV_CSNMAXLEN) { in convert()
74 ic = iconv_open(to_enc, from_enc); in convert()
/PHP-7.0/ext/mbstring/
H A Dmbstring.c3703 char *to_enc; in PHP_FUNCTION() local
3707 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "sz+", &to_enc, &to_enc_len, &zfrom_enc, &args, &argc) … in PHP_FUNCTION()
3712 to_encoding = mbfl_name2encoding(to_enc); in PHP_FUNCTION()
3714 php_error_docref(NULL, E_WARNING, "Unknown encoding \"%s\"", to_enc); in PHP_FUNCTION()

Completed in 16 milliseconds