Searched refs:mb_strripos (Results 1 – 13 of 13) sorted by relevance
/PHP-8.3/ext/mbstring/tests/ |
H A D | mb_strripos_variation5_Bug45923.phpt | 2 Test mb_strripos() function : usage variations - Pass different integers as $offset argument 8 * Test how mb_strripos() behaves when passed different integers as $offset argument 15 echo "*** Testing mb_strripos() : usage variations ***\n"; 25 * mb_strripos should not be able to accept negative values as $offset. 32 var_dump(mb_strripos($string_ascii, $needle_ascii, $i)); 39 var_dump(mb_strripos($string_mb, $needle_mb, $i, 'UTF-8')); 47 *** Testing mb_strripos() : usage variations *** 75 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 77 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 81 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) [all …]
|
H A D | mb_strripos_empty_needle.phpt | 2 Test mb_strripos() function : with empty needle 15 var_dump(mb_strripos($string_ascii, '')); 18 var_dump(mb_strripos($string_ascii, '', 2)); 21 var_dump(mb_strripos($string_ascii, '', -2)); 25 var_dump(mb_strripos($string_ascii, '', 15)); 32 var_dump(mb_strripos($string_ascii, '', -15)); 39 var_dump(mb_strripos($string_mb, '')); 42 var_dump(mb_strripos($string_mb, '', 2)); 45 var_dump(mb_strripos($string_mb, '', -2)); 49 var_dump(mb_strripos($string_mb, '', 150)); [all …]
|
H A D | mb_strripos_error2.phpt | 2 Test mb_strripos() function : error conditions - Pass unknown encoding 8 * Pass an unknown encoding to mb_strripos() to test behaviour 11 echo "*** Testing mb_strripos() : error conditions ***\n"; 18 var_dump( mb_strripos($haystack, $needle, $offset, $encoding) ); 25 *** Testing mb_strripos() : error conditions *** 26 mb_strripos(): Argument #4 ($encoding) must be a valid encoding, "unknown-encoding" given
|
H A D | mb_strripos_basic2.phpt | 2 Test mb_strripos() function : basic functionality 8 * Test basic functionality of mb_strripos with ASCII and multibyte characters 11 echo "*** Testing mb_strripos() : basic functionality***\n"; 50 var_dump(mb_strripos($haystack, $needle)); 51 var_dump(mb_strripos($haystack, $needle, 14)); 58 var_dump(mb_strripos($haystack, $needle)); 59 var_dump(mb_strripos($haystack, $needle, 12)); 66 *** Testing mb_strripos() : basic functionality***
|
H A D | gh11217.phpt | 2 GH-11217: Segfault in mb_strrpos/mb_strripos with ASCII encoding and negative offset 8 var_dump(mb_strripos('foo', 'foo', -1, 'ASCII'));
|
H A D | mb_strpos_offset_errors.phpt | 39 var_dump(mb_strripos("f", "bar", 3)); 44 var_dump(mb_strripos("f", "bar", -3)); 57 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 58 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
|
H A D | mb_strripos_basic.phpt | 2 Test mb_strripos() function : basic functionality 8 * Test basic functionality of mb_strripos with ASCII and multibyte characters 11 echo "*** Testing mb_strripos() : basic functionality***\n"; 72 var_dump(mb_strripos($haystack, $needle)); 84 var_dump(mb_strripos($haystack, $needle)); 92 *** Testing mb_strripos() : basic functionality***
|
H A D | bug45923.phpt | 31 section('mb_strripos', "●○◆ ●○◆ ●○◆", "●○◆"); 195 ------- mb_strripos ----------- 208 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 216 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
|
H A D | mb_str_functions_opt-parameter.phpt | 10 echo mb_strripos('abb', 'B', null, 'UTF-8') . "\n"; 29 Deprecated: mb_strripos(): Passing null to parameter #3 ($offset) of type int is deprecated in %s o…
|
H A D | mb_str_unknown_encoding.phpt | 96 mb_strripos('coudenys', 'cou', 0, 'UTF-0'); 159 mb_strripos(): Argument #4 ($encoding) must be a valid encoding, "UTF-0" given
|
/PHP-8.3/ext/mbstring/ |
H A D | mbstring_arginfo.h | 328 ZEND_FUNCTION(mb_strripos); 423 ZEND_FE(mb_strripos, arginfo_mb_strripos)
|
H A D | mbstring.stub.php | 97 function mb_strripos(string $haystack, string $needle, int $offset = 0, ?string $encoding = null): … function
|
H A D | mbstring.c | 2056 PHP_FUNCTION(mb_strripos) in PHP_FUNCTION() argument
|
Completed in 43 milliseconds