Searched refs:mb_strrchr (Results 1 – 11 of 11) sorted by relevance
/PHP-8.0/ext/mbstring/tests/ |
H A D | mb_strrchr_basic.phpt | 2 Test mb_strrchr() function : basic functionality 6 function_exists('mb_strrchr') or die("skip mb_strrchr() is not available in this build"); 10 echo "*** Testing mb_strrchr() : basic functionality ***\n"; 20 var_dump(bin2hex(mb_strrchr($string_ascii, 'd'))); 21 var_dump(bin2hex(mb_strrchr($string_ascii, 'd', true))); 25 var_dump(mb_strrchr($string_ascii, '123')); 29 var_dump(bin2hex(mb_strrchr($string_mb, $needle1))); 30 var_dump(bin2hex(mb_strrchr($string_mb, $needle1, false, 'utf-8'))); 31 var_dump(bin2hex(mb_strrchr($string_mb, $needle1, true))); 36 var_dump(mb_strrchr($string_mb, $needle2)); [all …]
|
H A D | mb_strrchr_empty_needle.phpt | 2 Test mb_strrchr() function : with empty needle 6 function_exists('mb_strrchr') or die("skip mb_strrchr() is not available in this build"); 18 var_dump(mb_strrchr($string_ascii, '', false, 'ISO-8859-1')); 19 var_dump(mb_strrchr($string_ascii, '')); 20 var_dump(mb_strrchr($string_ascii, '', true)); 23 var_dump(mb_strrchr($string_mb, '')); 24 var_dump(mb_strrchr($string_mb, '', false, 'utf-8')); 25 var_dump(mb_strrchr($string_mb, '', true));
|
H A D | mb_strrchr_error2.phpt | 2 Test mb_strrchr() function : error conditions 6 function_exists('mb_strrchr') or die("skip mb_strrchr() is not available in this build"); 10 echo "*** Testing mb_strrchr() : error conditions ***\n"; 13 echo "\n-- Testing mb_strrchr() with unknown encoding --\n"; 20 var_dump( mb_strrchr($haystack, $needle, $part, $encoding) ); 27 *** Testing mb_strrchr() : error conditions *** 29 -- Testing mb_strrchr() with unknown encoding -- 30 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 6 function_exists('mb_strrchr') or die("skip mb_strrchr() is not available in this build"); 10 echo "*** Testing mb_strrchr() : variation ***\n"; 28 var_dump(bin2hex(mb_strrchr($string_ascii, $needle_ascii_lower))); 30 var_dump(mb_strrchr($string_ascii, $needle_ascii_upper)); 31 var_dump(mb_strrchr($string_ascii, $needle_ascii_mixed)); 35 $res = mb_strrchr($string_mb, $needle_mb_lower, false); 43 var_dump(mb_strrchr($string_mb, $needle_mb_upper)); 44 var_dump(mb_strrchr($string_mb, $needle_mb_mixed)); 49 *** Testing mb_strrchr() : variation ***
|
H A D | mb_strrchr_variation5.phpt | 2 Test mb_strrchr() function : variation - multiple needles 6 function_exists('mb_strrchr') or die("skip mb_strrchr() is not available in this build"); 10 echo "*** Testing mb_strrchr() : variation ***\n"; 23 var_dump(bin2hex(mb_strrchr($string_ascii, $needle_ascii, false))); 24 var_dump(bin2hex(mb_strrchr($string_ascii, $needle_ascii, true))); 27 $res = mb_strrchr($string_mb, $needle_mb, false); 34 $res = mb_strrchr($string_mb, $needle_mb, true); 45 *** Testing mb_strrchr() : variation ***
|
H A D | mb_str_functions_opt-parameter.phpt | 12 echo mb_strrchr('foobarbaz', 'ba', null, 'UTF-8') . "\n";
|
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.0/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 | 38 function mb_strrchr(string $haystack, string $needle, bool $before_needle = false, ?string $encodin… function
|
H A D | mbstring.c | 2069 PHP_FUNCTION(mb_strrchr) in PHP_FUNCTION() argument
|
/PHP-8.0/ |
H A D | UPGRADING | 385 mb_strripos(), mb_strstr(), mb_stristr(), mb_strrchr() and mb_strrichr() can
|
Completed in 20 milliseconds