Searched refs:mb_strrpos (Results 1 – 12 of 12) sorted by relevance
/php-src/ext/mbstring/tests/ |
H A D | bug43841.phpt | 2 Test mb_strrpos() function : mb_strrpos offset is byte count for negative values 20 var_dump( mb_strrpos($string_mb, $needle, $i, 'UTF-8') ); 25 echo "mb_strrpos:\n"; 27 var_dump(mb_strrpos('This is na English ta', 'a', $i)); 42 mb_strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 44 mb_strrpos: 45 mb_strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 51 mb_strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 53 mb_strrpos: 62 mb_strrpos: [all …]
|
H A D | mb_strrpos_basic.phpt | 2 Test mb_strrpos() function : basic functionality 8 * Test basic functionality of mb_strrpos() 11 echo "*** Testing mb_strrpos() : basic ***\n"; 20 var_dump(mb_strrpos($string_ascii, 'is', 4, 'ISO-8859-1')); 23 var_dump(mb_strrpos($string_ascii, 'hello, world')); 26 var_dump(mb_strrpos($string_ascii, 'hello', -1, 'ISO-8859-1')); 30 var_dump(mb_strrpos($string_mb, $needle1)); 34 var_dump(mb_strrpos($string_mb, $needle2)); 39 *** Testing mb_strrpos() : basic ***
|
H A D | mb_strrpos_empty_needle.phpt | 2 Test mb_strrpos() function : with empty needle 15 var_dump(mb_strrpos($string_ascii, '')); 18 var_dump(mb_strrpos($string_ascii, '', 2)); 21 var_dump(mb_strrpos($string_ascii, '', -2)); 25 var_dump(mb_strrpos($string_ascii, '', 15)); 32 var_dump(mb_strrpos($string_ascii, '', -15)); 39 var_dump(mb_strrpos($string_mb, '')); 42 var_dump(mb_strrpos($string_mb, '', 2)); 45 var_dump(mb_strrpos($string_mb, '', -2)); 49 var_dump(mb_strrpos($string_mb, '', 150)); [all …]
|
H A D | mb_strrpos_error2.phpt | 2 Test mb_strrpos() function : error conditions - pass an unknown encoding 8 * Pass mb_strrpos() an encoding that doesn't exist 11 echo "*** Testing mb_strrpos() : error conditions ***\n"; 19 var_dump(mb_strrpos($haystack, $needle , $offset, $encoding)); 26 *** Testing mb_strrpos() : error conditions *** 27 mb_strrpos(): Argument #4 ($encoding) must be a valid encoding, "unknown-encoding" given
|
H A D | gh11217.phpt | 2 GH-11217: Segfault in mb_strrpos/mb_strripos with ASCII encoding and negative offset 7 var_dump(mb_strrpos('foo', 'foo', -1, 'ASCII'));
|
H A D | mb_strpos_offset_errors.phpt | 19 var_dump(mb_strrpos("f", "bar", 3)); 24 var_dump(mb_strrpos("f", "bar", -3)); 53 mb_strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 54 mb_strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
|
H A D | bug45923.phpt | 28 section('mb_strrpos' , "●○◆ ●○◆ ●○◆", "●○◆"); 149 ------- mb_strrpos ----------- 162 mb_strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 170 mb_strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
|
H A D | mb_str_functions_opt-parameter.phpt | 8 echo mb_strrpos('abb', 'b', null, 'UTF-8') . "\n"; 23 Deprecated: mb_strrpos(): Passing null to parameter #3 ($offset) of type int is deprecated in %s on…
|
H A D | mb_str_unknown_encoding.phpt | 102 mb_strrpos('coudenys', 'cou', 0, 'UTF-0'); 160 mb_strrpos(): Argument #4 ($encoding) must be a valid encoding, "UTF-0" given
|
/php-src/ext/mbstring/ |
H A D | mbstring_arginfo.h | 309 ZEND_FUNCTION(mb_strrpos); 378 ZEND_FE(mb_strrpos, arginfo_mb_strrpos)
|
H A D | mbstring.stub.php | 93 function mb_strrpos(string $haystack, string $needle, int $offset = 0, ?string $encoding = null): i… function
|
H A D | mbstring.c | 2000 PHP_FUNCTION(mb_strrpos) in PHP_FUNCTION() argument
|
Completed in 38 milliseconds