Home
last modified time | relevance | path

Searched refs:iconv_strrpos (Results 1 – 6 of 6) sorted by relevance

/PHP-7.4/ext/iconv/tests/
H A Diconv_strrpos_basic.phpt2 Test iconv_strrpos() function : basic functionality
6 function_exists('iconv_strrpos') or die("skip iconv_strrpos() is not available in this build");
12 /* Prototype : proto int iconv_strrpos(string haystack, string needle [, string charset])
18 * Test basic functionality of iconv_strrpos()
21 echo "*** Testing iconv_strrpos() : basic ***\n";
30 var_dump(iconv_strrpos($string_ascii, 'is', 'ISO-8859-1'));
33 var_dump(iconv_strrpos($string_ascii, 'hello, world'));
37 var_dump(iconv_strrpos($string_mb, $needle1));
41 var_dump(iconv_strrpos($string_mb, $needle2));
46 *** Testing iconv_strrpos() : basic ***
H A Diconv_strrpos_error2.phpt2 Test iconv_strrpos() function : error conditions - pass an unknown encoding
6 function_exists('iconv_strrpos') or die("skip iconv_strrpos() is not available in this build");
10 /* Prototype : proto int iconv_strrpos(string haystack, string needle [, string charset])
16 * Pass iconv_strrpos() an encoding that doesn't exist
19 echo "*** Testing iconv_strrpos() : error conditions ***\n";
26 var_dump(iconv_strrpos($haystack, $needle , $encoding));
31 *** Testing iconv_strrpos() : error conditions ***
33 Notice: iconv_strrpos(): Wrong charset, conversion from `unknown-encoding' to `UCS-4LE' is not allo…
H A Diconv_strrpos.phpt2 iconv_strrpos()
21 var_dump(iconv_strrpos($haystk, $needle, $to_charset));
24 var_dump(iconv_strrpos($haystk, $needle));
36 var_dump(iconv_strrpos("string", ""));
37 var_dump(iconv_strrpos("", "string"));
H A Diconv_strrpos-charset-length-cve-2007-4840.phpt2 iconv_strrpos() charset parameter length checks (CVE-2007-4840)
8 var_dump(iconv_strrpos("a", "b", $a));
11 Warning: iconv_strrpos(): Charset parameter exceeds the maximum allowed length of %d characters in …
/PHP-7.4/ext/iconv/
H A Dphp_iconv.h65 PHP_FUNCTION(iconv_strrpos);
H A Diconv.c130 PHP_FE(iconv_strrpos, arginfo_iconv_strrpos)
2190 PHP_FUNCTION(iconv_strrpos) in PHP_FUNCTION() argument

Completed in 19 milliseconds