Home
last modified time | relevance | path

Searched refs:mb_strripos (Results 1 – 13 of 13) sorted by relevance

/PHP-8.0/ext/mbstring/tests/
H A Dmb_strripos_error2.phpt2 Test mb_strripos() function : error conditions - Pass unknown encoding
6 function_exists('mb_strripos') or die("skip mb_strripos() is not available in this build");
11 * Pass an unknown encoding to mb_strripos() to test behaviour
14 echo "*** Testing mb_strripos() : error conditions ***\n";
21 var_dump( mb_strripos($haystack, $needle, $offset, $encoding) );
28 *** Testing mb_strripos() : error conditions ***
29 mb_strripos(): Argument #4 ($encoding) must be a valid encoding, "unknown-encoding" given
H A Dmb_strripos_variation5_Bug45923.phpt2 Test mb_strripos() function : usage variations - Pass different integers as $offset argument
6 function_exists('mb_strripos') or die("skip mb_strripos() is not available in this build");
11 * Test how mb_strripos() behaves when passed different integers as $offset argument
18 echo "*** Testing mb_strripos() : usage variations ***\n";
28 * mb_strripos should not be able to accept negative values as $offset.
35 var_dump(mb_strripos($string_ascii, $needle_ascii, $i));
42 var_dump(mb_strripos($string_mb, $needle_mb, $i, 'UTF-8'));
50 *** Testing mb_strripos() : usage variations ***
78 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
80 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
[all …]
H A Dmb_strripos_empty_needle.phpt2 Test mb_strripos() function : with empty needle
6 function_exists('mb_strripos') or die("skip mb_strripos() is not available in this build");
18 var_dump(mb_strripos($string_ascii, ''));
21 var_dump(mb_strripos($string_ascii, '', 2));
24 var_dump(mb_strripos($string_ascii, '', -2));
28 var_dump(mb_strripos($string_ascii, '', 15));
42 var_dump(mb_strripos($string_mb, ''));
45 var_dump(mb_strripos($string_mb, '', 2));
48 var_dump(mb_strripos($string_mb, '', -2));
52 var_dump(mb_strripos($string_mb, '', 150));
[all …]
H A Dmb_strripos_basic2.phpt2 Test mb_strripos() function : basic functionality
6 function_exists('mb_strripos') or die("skip mb_strripos() is not available in this build");
11 * Test basic functionality of mb_strripos with ASCII and multibyte characters
14 echo "*** Testing mb_strripos() : basic functionality***\n";
53 var_dump(mb_strripos($haystack, $needle));
54 var_dump(mb_strripos($haystack, $needle, 14));
61 var_dump(mb_strripos($haystack, $needle));
62 var_dump(mb_strripos($haystack, $needle, 12));
69 *** Testing mb_strripos() : basic functionality***
H A Dmb_strripos_basic.phpt2 Test mb_strripos() function : basic functionality
6 function_exists('mb_strripos') or die("skip mb_strripos() is not available in this build");
11 * Test basic functionality of mb_strripos with ASCII and multibyte characters
14 echo "*** Testing mb_strripos() : basic functionality***\n";
75 var_dump(mb_strripos($haystack, $needle));
87 var_dump(mb_strripos($haystack, $needle));
95 *** Testing mb_strripos() : basic functionality***
H A Dmb_strpos_offset_errors.phpt37 var_dump(mb_strripos("f", "bar", 3));
42 var_dump(mb_strripos("f", "bar", -3));
55 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
56 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
H A Dbug45923.phpt31 section('mb_strripos', "●○◆ ●○◆ ●○◆", "●○◆");
195 ------- mb_strripos -----------
208 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
216 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
H A Dmb_str_functions_opt-parameter.phpt10 echo mb_strripos('abb', 'B', null, 'UTF-8') . "\n";
H A Dmb_str_unknown_encoding.phpt96 mb_strripos('coudenys', 'cou', 0, 'UTF-0');
159 mb_strripos(): Argument #4 ($encoding) must be a valid encoding, "UTF-0" given
/PHP-8.0/ext/mbstring/
H A Dmbstring_arginfo.h320 ZEND_FUNCTION(mb_strripos);
414 ZEND_FE(mb_strripos, arginfo_mb_strripos)
H A Dmbstring.stub.php34 function mb_strripos(string $haystack, string $needle, int $offset = 0, ?string $encoding = null): … function
H A Dmbstring.c1969 PHP_FUNCTION(mb_strripos) in PHP_FUNCTION() argument
/PHP-8.0/
H A DUPGRADING385 mb_strripos(), mb_strstr(), mb_stristr(), mb_strrchr() and mb_strrichr() can

Completed in 31 milliseconds