Searched refs:mb_strrchr (Results 1 – 10 of 10) sorted by relevance
/php-src/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"; 17 var_dump(bin2hex(mb_strrchr($string_ascii, 'd'))); 18 var_dump(bin2hex(mb_strrchr($string_ascii, 'd', true))); 21 var_dump(mb_strrchr($string_ascii, '123')); 25 var_dump(bin2hex(mb_strrchr($string_mb, $needle1))); 27 var_dump(bin2hex(mb_strrchr($string_mb, $needle1, true))); 31 var_dump(mb_strrchr($string_mb, $needle2)); 34 // Regression test from when mb_strrchr was being reimplemented 35 var_dump(mb_strrchr("\x00t\x00", "", false, "UTF32")); [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-src/ext/mbstring/ |
H A D | mbstring_arginfo.h | 313 ZEND_FUNCTION(mb_strrchr); 382 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 | 2204 PHP_FUNCTION(mb_strrchr) in PHP_FUNCTION() argument
|
Completed in 40 milliseconds