Searched refs:mb_strrpos (Results 1 – 12 of 12) sorted by relevance
/PHP-8.0/ext/mbstring/tests/ |
H A D | bug43841.phpt | 2 Test mb_strrpos() function : mb_strrpos offset is byte count for negative values 6 function_exists('mb_strrpos') or die("skip mb_strrpos() is not available in this build"); 23 var_dump( mb_strrpos($string_mb, $needle, $i, 'UTF-8') ); 28 echo "mb_strrpos:\n"; 30 var_dump(mb_strrpos('This is na English ta', 'a', $i)); 45 mb_strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 47 mb_strrpos: 48 mb_strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 56 mb_strrpos: 65 mb_strrpos: [all …]
|
H A D | mb_strrpos_basic.phpt | 2 Test mb_strrpos() function : basic functionality 6 function_exists('mb_strrpos') or die("skip mb_strrpos() is not available in this build"); 11 * Test basic functionality of mb_strrpos() 14 echo "*** Testing mb_strrpos() : basic ***\n"; 23 var_dump(mb_strrpos($string_ascii, 'is', 4, 'ISO-8859-1')); 26 var_dump(mb_strrpos($string_ascii, 'hello, world')); 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_error2.phpt | 2 Test mb_strrpos() function : error conditions - pass an unknown encoding 6 function_exists('mb_strrpos') or die("skip mb_strrpos() is not available in this build"); 11 * Pass mb_strrpos() an encoding that doesn't exist 14 echo "*** Testing mb_strrpos() : error conditions ***\n"; 22 var_dump(mb_strrpos($haystack, $needle , $offset, $encoding)); 29 *** Testing mb_strrpos() : error conditions *** 30 mb_strrpos(): Argument #4 ($encoding) must be a valid encoding, "unknown-encoding" given
|
H A D | mb_strrpos_empty_needle.phpt | 2 Test mb_strrpos() function : with empty needle 6 function_exists('mb_strrpos') or die("skip mb_strrpos() is not available in this build"); 18 var_dump(mb_strrpos($string_ascii, '')); 21 var_dump(mb_strrpos($string_ascii, '', 2)); 24 var_dump(mb_strrpos($string_ascii, '', -2)); 28 var_dump(mb_strrpos($string_ascii, '', 15)); 42 var_dump(mb_strrpos($string_mb, '')); 45 var_dump(mb_strrpos($string_mb, '', 2)); 48 var_dump(mb_strrpos($string_mb, '', -2)); 52 var_dump(mb_strrpos($string_mb, '', 150)); [all …]
|
H A D | mb_strpos_offset_errors.phpt | 17 var_dump(mb_strrpos("f", "bar", 3)); 22 var_dump(mb_strrpos("f", "bar", -3)); 51 mb_strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 52 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";
|
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-8.0/ext/mbstring/ |
H A D | mbstring_arginfo.h | 318 ZEND_FUNCTION(mb_strrpos); 412 ZEND_FE(mb_strrpos, arginfo_mb_strrpos)
|
H A D | mbstring.stub.php | 30 function mb_strrpos(string $haystack, string $needle, int $offset = 0, ?string $encoding = null): i… function
|
H A D | mbstring.c | 1900 PHP_FUNCTION(mb_strrpos) in PHP_FUNCTION() argument
|
/PHP-8.0/ |
H A D | UPGRADING | 384 . The needle argument for mb_strpos(), mb_strrpos(), mb_stripos(), 390 of an offset for the mb_strrpos() function has been removed; provide an
|
Completed in 28 milliseconds