Home
last modified time | relevance | path

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

/php-src/ext/iconv/tests/
H A Diconv_strrpos.phpt14 function foo($haystk, $needle, $to_charset = false, $from_charset = false)
17 $haystk = iconv($from_charset, $to_charset, $haystk);
19 if ($to_charset !== false) {
20 var_dump(iconv_strlen($haystk, $to_charset));
21 var_dump(iconv_strrpos($haystk, $needle, $to_charset));
H A Diconv_strpos.phpt9 function foo($haystk, $needle, $offset, $to_charset = false, $from_charset = false)
12 $haystk = iconv($from_charset, $to_charset, $haystk);
20 if ($to_charset !== false) {
21 var_dump(iconv_strpos($haystk, $needle, $offset, $to_charset));
/php-src/ext/iconv/
H A Diconv.c2298 char *to_charset; member
2311 pefree(self->to_charset, self->persistent); in php_iconv_stream_filter_dtor()
2318 const char *to_charset, size_t to_charset_len, in php_iconv_stream_filter_ctor() argument
2326 memcpy(self->to_charset, to_charset, to_charset_len); in php_iconv_stream_filter_ctor()
2327 self->to_charset[to_charset_len] = '\0'; in php_iconv_stream_filter_ctor()
2333 pefree(self->to_charset, persistent); in php_iconv_stream_filter_ctor()
2580 char *from_charset = NULL, *to_charset = NULL; in php_iconv_stream_filter_factory_create() local
2591 if ((to_charset = strpbrk(from_charset, "/.")) == NULL) { in php_iconv_stream_filter_factory_create()
2594 from_charset_len = to_charset - from_charset; in php_iconv_stream_filter_factory_create()
2595 ++to_charset; in php_iconv_stream_filter_factory_create()
[all …]

Completed in 10 milliseconds