Searched refs:mb_strrchr (Results 1 – 10 of 10) sorted by relevance
/PHP-8.2/ext/mbstring/tests/ |
H A D | mb_strrchr_basic.phpt | 2 Test mb_strrchr() function : basic functionality 7 echo "*** Testing mb_strrchr() : basic functionality ***\n"; 16 var_dump(bin2hex(mb_strrchr($string_ascii, 'd', false, 'ISO-8859-1'))); 17 var_dump(bin2hex(mb_strrchr($string_ascii, 'd'))); 18 var_dump(bin2hex(mb_strrchr($string_ascii, 'd', true))); 22 var_dump(mb_strrchr($string_ascii, '123')); 26 var_dump(bin2hex(mb_strrchr($string_mb, $needle1))); 27 var_dump(bin2hex(mb_strrchr($string_mb, $needle1, false, 'utf-8'))); 28 var_dump(bin2hex(mb_strrchr($string_mb, $needle1, true))); 33 var_dump(mb_strrchr($string_mb, $needle2)); [all …]
|
H A D | mb_strrchr_empty_needle.phpt | 2 Test mb_strrchr() function : with empty needle 15 var_dump(mb_strrchr($string_ascii, '', false, 'ISO-8859-1')); 16 var_dump(mb_strrchr($string_ascii, '')); 17 var_dump(mb_strrchr($string_ascii, '', true)); 20 var_dump(mb_strrchr($string_mb, '')); 21 var_dump(mb_strrchr($string_mb, '', false, 'utf-8')); 22 var_dump(mb_strrchr($string_mb, '', true));
|
H A D | mb_strrchr_error2.phpt | 2 Test mb_strrchr() function : error conditions 7 echo "*** Testing mb_strrchr() : error conditions ***\n"; 10 echo "\n-- Testing mb_strrchr() with unknown encoding --\n"; 17 var_dump( mb_strrchr($haystack, $needle, $part, $encoding) ); 24 *** Testing mb_strrchr() : error conditions *** 26 -- Testing mb_strrchr() with unknown encoding -- 27 mb_strrchr(): Argument #4 ($encoding) must be a valid encoding, "unknown-encoding" given
|
H A D | mb_strrchr_variation6.phpt | 2 Test mb_strrchr() function : variation - case sensitivity 7 echo "*** Testing mb_strrchr() : variation ***\n"; 25 var_dump(bin2hex(mb_strrchr($string_ascii, $needle_ascii_lower))); 27 var_dump(mb_strrchr($string_ascii, $needle_ascii_upper)); 28 var_dump(mb_strrchr($string_ascii, $needle_ascii_mixed)); 32 $res = mb_strrchr($string_mb, $needle_mb_lower, false); 40 var_dump(mb_strrchr($string_mb, $needle_mb_upper)); 41 var_dump(mb_strrchr($string_mb, $needle_mb_mixed)); 46 *** Testing mb_strrchr() : variation ***
|
H A D | mb_strrchr_variation5.phpt | 2 Test mb_strrchr() function : variation - multiple needles 7 echo "*** Testing mb_strrchr() : variation ***\n"; 20 var_dump(bin2hex(mb_strrchr($string_ascii, $needle_ascii, false))); 21 var_dump(bin2hex(mb_strrchr($string_ascii, $needle_ascii, true))); 24 $res = mb_strrchr($string_mb, $needle_mb, false); 31 $res = mb_strrchr($string_mb, $needle_mb, true); 42 *** Testing mb_strrchr() : variation ***
|
H A D | mb_str_functions_opt-parameter.phpt | 12 echo mb_strrchr('foobarbaz', 'ba', null, 'UTF-8') . "\n"; 35 Deprecated: mb_strrchr(): Passing null to parameter #3 ($before_needle) of type bool is deprecated …
|
H A D | mb_str_unknown_encoding.phpt | 84 mb_strrchr('coudenys', 'cou', false, 'UTF-0'); 157 mb_strrchr(): Argument #4 ($encoding) must be a valid encoding, "UTF-0" given
|
/PHP-8.2/ext/mbstring/ |
H A D | mbstring_arginfo.h | 322 ZEND_FUNCTION(mb_strrchr); 416 ZEND_FE(mb_strrchr, arginfo_mb_strrchr)
|
H A D | mbstring.stub.php | 103 function mb_strrchr(string $haystack, string $needle, bool $before_needle = false, ?string $encodin… function
|
H A D | mbstring.c | 2094 PHP_FUNCTION(mb_strrchr) in PHP_FUNCTION() argument
|
Completed in 25 milliseconds