Home
last modified time | relevance | path

Searched refs:haystk (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);
20 var_dump(iconv_strlen($haystk, $to_charset));
21 var_dump(iconv_strrpos($haystk, $needle, $to_charset));
23 var_dump(iconv_strlen($haystk));
24 var_dump(iconv_strrpos($haystk, $needle));
H A Diconv_strpos.phpt9 function foo($haystk, $needle, $offset, $to_charset = false, $from_charset = false)
12 $haystk = iconv($from_charset, $to_charset, $haystk);
15 var_dump(strpos($haystk, $needle, $offset));
21 var_dump(iconv_strpos($haystk, $needle, $offset, $to_charset));
23 var_dump(iconv_strpos($haystk, $needle, $offset));
/php-src/ext/iconv/
H A Diconv.c754 const char *haystk, size_t haystk_nbytes, in _php_iconv_strpos() argument
809 for (in_p = haystk, in_left = haystk_nbytes, cnt = 0; more; ++cnt) { in _php_iconv_strpos()
1867 zend_string *haystk; in PHP_FUNCTION() local
1876 &haystk, &ndl, in PHP_FUNCTION()
1890 err = _php_iconv_strlen(&haystk_len, ZSTR_VAL(haystk), ZSTR_LEN(haystk), charset); in PHP_FUNCTION()
1908 &retval, ZSTR_VAL(haystk), ZSTR_LEN(haystk), ZSTR_VAL(ndl), ZSTR_LEN(ndl), in PHP_FUNCTION()
1925 zend_string *haystk; in PHP_FUNCTION() local
1933 &haystk, &ndl, in PHP_FUNCTION()
1950 &retval, ZSTR_VAL(haystk), ZSTR_LEN(haystk), ZSTR_VAL(ndl), ZSTR_LEN(ndl), in PHP_FUNCTION()

Completed in 14 milliseconds