Home
last modified time | relevance | path

Searched refs:mb_strrichr (Results 1 – 7 of 7) sorted by relevance

/PHP-7.4/ext/mbstring/tests/
H A Dmb_strrichr_variation5.phpt2 Test mb_strrichr() function : usage variation - multiple needles
6 function_exists('mb_strrichr') or die("skip mb_strrichr() is not available in this build");
16 echo "*** Testing mb_strrichr() : basic functionality ***\n";
34 var_dump(bin2hex(mb_strrichr($string_ascii, $needle_ascii_upper, true)));
42 var_dump(bin2hex(mb_strrichr($string_mb, $needle_mb_upper, false)));
43 var_dump(bin2hex(mb_strrichr($string_mb, $needle_mb_upper, true)));
44 var_dump(bin2hex(mb_strrichr($string_mb, $needle_mb_lower, false)));
45 var_dump(bin2hex(mb_strrichr($string_mb, $needle_mb_lower, true)));
46 var_dump(bin2hex(mb_strrichr($string_mb, $needle_mb_mixed, false)));
47 var_dump(bin2hex(mb_strrichr($string_mb, $needle_mb_mixed, true)));
[all …]
H A Dmb_strrichr_error2.phpt2 Test mb_strrichr() function : error conditions
6 function_exists('mb_strrichr') or die("skip mb_strrichr() is not available in this build");
10 /* Prototype : string mb_strrichr(string haystack, string needle[, bool part[, string encoding]])
16 echo "*** Testing mb_strrichr() : error conditions ***\n";
19 echo "\n-- Testing mb_strrichr() with unknown encoding --\n";
24 var_dump( mb_strrichr($haystack, $needle, $part, $encoding) );
29 *** Testing mb_strrichr() : error conditions ***
31 -- Testing mb_strrichr() with unknown encoding --
33 Warning: mb_strrichr(): Unknown encoding "unknown-encoding" in %s on line %d
H A Dmb_strrichr_basic.phpt2 Test mb_strrichr() function : basic functionality
6 function_exists('mb_strrichr') or die("skip mb_strrichr() is not available in this build");
16 echo "*** Testing mb_strrichr() : basic functionality ***\n";
33 var_dump(bin2hex(mb_strrichr($string_ascii, $needle_ascii_lower)));
34 var_dump(bin2hex(mb_strrichr($string_ascii, $needle_ascii_mixed, true)));
38 var_dump(mb_strrichr($string_ascii, '123'));
41 var_dump(bin2hex(mb_strrichr($string_mb, $needle_mb_upper)));
42 var_dump(bin2hex(mb_strrichr($string_mb, $needle_mb_lower, false, 'utf-8')));
43 var_dump(bin2hex(mb_strrichr($string_mb, $needle_mb_mixed, true)));
48 var_dump(mb_strrichr($string_mb, $needle2));
[all …]
H A Dmb_str_functions_opt-parameter.phpt14 echo mb_strrichr('foobarbaz', 'BA', null, 'UTF-8') . "\n";
H A Dmb_str_unknown_encoding.phpt23 mb_strrichr('coudenys', 'cou', false, 'UTF-0');
60 Warning: mb_strrichr(): Unknown encoding "UTF-0" in %s on line %d
/PHP-7.4/ext/mbstring/
H A Dmbstring.h90 PHP_FUNCTION(mb_strrichr);
H A Dmbstring.c559 PHP_FE(mb_strrichr, arginfo_mb_strrichr)
2853 PHP_FUNCTION(mb_strrichr) in PHP_FUNCTION() argument

Completed in 19 milliseconds