Searched refs:mb_strrpos (Results 1 – 12 of 12) sorted by relevance
/PHP-7.4/ext/mbstring/tests/ |
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"); 10 /* Prototype : int mb_strrpos(string $haystack, string $needle [, int $offset [, string $encoding]… 16 * Test basic functionality of mb_strrpos() 19 echo "*** Testing mb_strrpos() : basic ***\n"; 28 var_dump(mb_strrpos($string_ascii, 'is', 4, 'ISO-8859-1')); 31 var_dump(mb_strrpos($string_ascii, 'hello, world')); 35 var_dump(mb_strrpos($string_mb, $needle1)); 39 var_dump(mb_strrpos($string_mb, $needle2)); 44 *** 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"); 10 /* Prototype : int mb_strrpos(string $haystack, string $needle [, int $offset [, string $encoding]… 16 * Pass mb_strrpos() an encoding that doesn't exist 19 echo "*** Testing mb_strrpos() : error conditions ***\n"; 26 var_dump(mb_strrpos($haystack, $needle , $offset, $encoding)); 31 *** Testing mb_strrpos() : error conditions *** 33 Warning: mb_strrpos(): Unknown encoding "unknown-encoding" in %s on line %d
|
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"); 16 * Test that mb_strrpos offset is byte count for negative values (should be character count) 28 var_dump( mb_strrpos($string_mb, $needle, $i, 'UTF-8') ); 30 echo "mb_strrpos:\n"; 31 var_dump(mb_strrpos('This is na English ta', 'a', $i)); 40 Warning: mb_strrpos(): Offset is greater than the length of haystack string in %s on line %d 43 mb_strrpos: 58 mb_strrpos: 71 mb_strrpos: [all …]
|
H A D | mb_strrpos_variation5.phpt | 2 Test mb_strrpos() function : usage variations - pass encoding as third argument (deprecated behavio… 6 function_exists('mb_strrpos') or die("skip mb_strrpos() is not available in this build"); 10 /* Prototype : int mb_strrpos(string $haystack, string $needle [, int $offset [, string $encoding]… 19 echo "*** Testing mb_strrpos() : usage variations ***\n"; 34 var_dump(mb_strrpos($string_mb, $needle_mb, $input, 'utf-8')); 36 var_dump(mb_strrpos($string_mb, $needle_mb, $input)); 42 *** Testing mb_strrpos() : usage variations *** 47 Deprecated: mb_strrpos(): Passing the encoding as third parameter is deprecated. Use an explicit ze… 51 Deprecated: mb_strrpos(): Passing the encoding as third parameter is deprecated. Use an explicit ze… 57 Deprecated: mb_strrpos(): Passing the encoding as third parameter is deprecated. Use an explicit ze… [all …]
|
H A D | mb_strrpos_encoding_3rd_param.phpt | 2 Passing encoding as 3rd param to mb_strrpos (legacy) 9 var_dump(mb_strrpos("abc abc abc", "abc", "UTF-8")); 13 Deprecated: mb_strrpos(): Passing the encoding as third parameter is deprecated. Use an explicit ze…
|
H A D | mb_get_info.phpt | 46 string(10) "mb_strrpos" 110 string(10) "mb_strrpos" 136 string(10) "mb_strrpos"
|
H A D | bug45923.phpt | 24 section('mb_strrpos' , "●○◆ ●○◆ ●○◆", "●○◆"); 165 ------- mb_strrpos ----------- 179 Warning: mb_strrpos(): Offset is greater than the length of haystack string in %s on line %d 189 Warning: mb_strrpos(): Offset is greater than the length of haystack string in %s on line %d
|
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 | 25 mb_strrpos('coudenys', 'cou', 0, 'UTF-0'); 64 Warning: mb_strrpos(): Unknown encoding "UTF-0" in %s on line %d
|
/PHP-7.4/ext/mbstring/ |
H A D | mbstring.h | 84 PHP_FUNCTION(mb_strrpos);
|
H A D | mbstring.c | 553 PHP_FE(mb_strrpos, arginfo_mb_strrpos) 2578 PHP_FUNCTION(mb_strrpos) in PHP_FUNCTION() argument
|
/PHP-7.4/ |
H A D | UPGRADING | 431 . Passing the encoding as 3rd parameter to mb_strrpos() is deprecated. Instead
|
Completed in 32 milliseconds