Searched refs:mb_strripos (Results 1 – 11 of 11) sorted by relevance
/PHP-7.4/ext/mbstring/tests/ |
H A D | mb_strripos_error2.phpt | 2 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 D | mb_strripos_variation5_Bug45923.phpt | 2 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 D | mb_strripos_basic2.phpt | 2 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 D | mb_strripos_basic.phpt | 2 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 D | mb_get_info.phpt | 50 string(11) "mb_strripos" 114 string(11) "mb_strripos" 140 string(11) "mb_strripos"
|
H A D | bug52931.phpt | 16 var_dump(mb_strripos($string, '</body>'));
|
H A D | bug45923.phpt | 27 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 D | mb_str_functions_opt-parameter.phpt | 10 echo mb_strripos('abb', 'B', null, 'UTF-8') . "\n";
|
H A D | mb_str_unknown_encoding.phpt | 24 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 D | mbstring.h | 86 PHP_FUNCTION(mb_strripos);
|
H A D | mbstring.c | 555 PHP_FE(mb_strripos, arginfo_mb_strripos) 2675 PHP_FUNCTION(mb_strripos) in PHP_FUNCTION() argument
|
Completed in 23 milliseconds