Home
last modified time | relevance | path

Searched refs:mb_strripos (Results 1 – 11 of 11) sorted by relevance

/PHP-7.4/ext/mbstring/tests/
H A Dmb_strripos_error2.phpt2 Test mb_strripos() function : error conditions - Pass unknown encoding
6 function_exists('mb_strripos') or die("skip mb_strripos() is not available in this build");
10 /* Prototype : int mb_strripos(string haystack, string needle [, int offset [, string encoding]])
17 * Pass an unknown encoding to mb_strripos() to test behaviour
20 echo "*** Testing mb_strripos() : error conditions ***\n";
26 var_dump( mb_strripos($haystack, $needle, $offset, $encoding) );
31 *** Testing mb_strripos() : error conditions ***
33 Warning: mb_strripos(): Unknown encoding "unknown-encoding" in %s on line %d
H A Dmb_strripos_variation5_Bug45923.phpt2 Test mb_strripos() function : usage variations - Pass different integers as $offset argument
6 function_exists('mb_strripos') or die("skip mb_strripos() is not available in this build");
10 /* Prototype : int mb_strripos(string haystack, string needle [, int offset [, string encoding]])
17 * Test how mb_strripos() behaves when passed different integers as $offset argument
24 echo "*** Testing mb_strripos() : usage variations ***\n";
34 * mb_strripos should not be able to accept negative values as $offset.
40 var_dump(mb_strripos($string_ascii, $needle_ascii, $i));
42 var_dump(mb_strripos($string_mb, $needle_mb, $i, 'UTF-8'));
48 *** Testing mb_strripos() : usage variations ***
77 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
[all …]
H A Dmb_strripos_basic2.phpt2 Test mb_strripos() function : basic functionality
6 function_exists('mb_strripos') or die("skip mb_strripos() is not available in this build");
10 /* Prototype : int mb_strripos(string haystack, string needle [, int offset [, string encoding]])
17 * Test basic functionality of mb_strripos with ASCII and multibyte characters
20 echo "*** Testing mb_strripos() : basic functionality***\n";
59 var_dump(mb_strripos($haystack, $needle));
60 var_dump(mb_strripos($haystack, $needle, 14));
67 var_dump(mb_strripos($haystack, $needle));
68 var_dump(mb_strripos($haystack, $needle, 12));
75 *** Testing mb_strripos() : basic functionality***
H A Dmb_strripos_basic.phpt2 Test mb_strripos() function : basic functionality
6 function_exists('mb_strripos') or die("skip mb_strripos() is not available in this build");
10 /* Prototype : int mb_strripos(string haystack, string needle [, int offset [, string encoding]])
17 * Test basic functionality of mb_strripos with ASCII and multibyte characters
20 echo "*** Testing mb_strripos() : basic functionality***\n";
81 var_dump(mb_strripos($haystack, $needle));
93 var_dump(mb_strripos($haystack, $needle));
101 *** Testing mb_strripos() : basic functionality***
H A Dmb_get_info.phpt50 string(11) "mb_strripos"
114 string(11) "mb_strripos"
140 string(11) "mb_strripos"
H A Dbug52931.phpt16 var_dump(mb_strripos($string, '</body>'));
H A Dbug45923.phpt27 section('mb_strripos', "●○◆ ●○◆ ●○◆", "●○◆");
219 ------- mb_strripos -----------
233 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
243 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
H A Dmb_str_functions_opt-parameter.phpt10 echo mb_strripos('abb', 'B', null, 'UTF-8') . "\n";
H A Dmb_str_unknown_encoding.phpt24 mb_strripos('coudenys', 'cou', 0, 'UTF-0');
62 Warning: mb_strripos(): Unknown encoding "UTF-0" in %s on line %d
/PHP-7.4/ext/mbstring/
H A Dmbstring.h86 PHP_FUNCTION(mb_strripos);
H A Dmbstring.c555 PHP_FE(mb_strripos, arginfo_mb_strripos)
2675 PHP_FUNCTION(mb_strripos) in PHP_FUNCTION() argument

Completed in 23 milliseconds