Home
last modified time | relevance | path

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

1234567891011

/dports/lang/php73/php-7.3.33/ext/mbstring/tests/
H A Dmb_strripos_variation4.phpt6 function_exists('mb_strripos') or die("skip mb_strripos() is not available in this build");
21 echo "*** Testing mb_strripos() : usage variations ***\n";
109 *** Testing mb_strripos() : usage variations ***
113 Warning: mb_strripos(): Unknown encoding "0" in %s on line %d
118 Warning: mb_strripos(): Unknown encoding "1" in %s on line %d
158 Warning: mb_strripos(): Unknown encoding "" in %s on line %d
163 Warning: mb_strripos(): Unknown encoding "" in %s on line %d
173 Warning: mb_strripos(): Unknown encoding "" in %s on line %d
183 Warning: mb_strripos(): Unknown encoding "" in %s on line %d
188 Warning: mb_strripos(): Unknown encoding "" in %s on line %d
[all …]
H A Dmb_strripos_error1.phpt2 Test mb_strripos() function : error conditions - Pass incorrect number of args
6 function_exists('mb_strripos') or die("skip mb_strripos() is not available in this build");
17 * Test how mb_strripos behaves when passed an incorrect number of arguments
20 echo "*** Testing mb_strripos() : error conditions ***\n";
23 //Test mb_strripos with one more than the expected number of arguments
30 var_dump( mb_strripos($haystack, $needle, $offset, $encoding, $extra_arg) );
32 // Testing mb_strripos with one less than the expected number of arguments
35 var_dump( mb_strripos($haystack) );
40 *** Testing mb_strripos() : error conditions ***
42 -- Testing mb_strripos() function with more than expected no. of arguments --
[all …]
H A Dmb_strripos_variation3_Bug45923.phpt2 Test mb_strripos() function : usage variations - pass different data types as $offset arg
6 function_exists('mb_strripos') or die("skip mb_strripos() is not available in this build");
18 * Pass mb_strripos different data types as $offset arg to test behaviour
21 echo "*** Testing mb_strripos() : usage variations ***\n";
96 // loop through each element of $inputs to check the behavior of mb_strripos()
100 var_dump( mb_strripos($haystack, $needle, $input, $encoding));
109 *** Testing mb_strripos() : usage variations ***
168 Warning: mb_strripos() expects parameter 3 to be int, string given in %s on line %d
173 Warning: mb_strripos() expects parameter 3 to be int, string given in %s on line %d
178 Warning: mb_strripos() expects parameter 3 to be int, string given in %s on line %d
[all …]
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");
10 /* Prototype : int mb_strripos(string haystack, string needle [, int offset [, string encoding]])
17 * Test how mb_strripos() behaves when passed different integers as $offset argument
24 echo "*** Testing mb_strripos() : usage variations ***\n";
34 * mb_strripos should not be able to accept negative values as $offset.
40 var_dump(mb_strripos($string_ascii, $needle_ascii, $i));
42 var_dump(mb_strripos($string_mb, $needle_mb, $i, 'UTF-8'));
48 *** Testing mb_strripos() : usage variations ***
77 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
[all …]
/dports/converters/php73-mbstring/php-7.3.33/ext/mbstring/tests/
H A Dmb_strripos_variation4.phpt6 function_exists('mb_strripos') or die("skip mb_strripos() is not available in this build");
21 echo "*** Testing mb_strripos() : usage variations ***\n";
109 *** Testing mb_strripos() : usage variations ***
113 Warning: mb_strripos(): Unknown encoding "0" in %s on line %d
118 Warning: mb_strripos(): Unknown encoding "1" in %s on line %d
158 Warning: mb_strripos(): Unknown encoding "" in %s on line %d
163 Warning: mb_strripos(): Unknown encoding "" in %s on line %d
173 Warning: mb_strripos(): Unknown encoding "" in %s on line %d
183 Warning: mb_strripos(): Unknown encoding "" in %s on line %d
188 Warning: mb_strripos(): Unknown encoding "" in %s on line %d
[all …]
H A Dmb_strripos_error1.phpt2 Test mb_strripos() function : error conditions - Pass incorrect number of args
6 function_exists('mb_strripos') or die("skip mb_strripos() is not available in this build");
17 * Test how mb_strripos behaves when passed an incorrect number of arguments
20 echo "*** Testing mb_strripos() : error conditions ***\n";
23 //Test mb_strripos with one more than the expected number of arguments
30 var_dump( mb_strripos($haystack, $needle, $offset, $encoding, $extra_arg) );
32 // Testing mb_strripos with one less than the expected number of arguments
35 var_dump( mb_strripos($haystack) );
40 *** Testing mb_strripos() : error conditions ***
42 -- Testing mb_strripos() function with more than expected no. of arguments --
[all …]
H A Dmb_strripos_variation3_Bug45923.phpt2 Test mb_strripos() function : usage variations - pass different data types as $offset arg
6 function_exists('mb_strripos') or die("skip mb_strripos() is not available in this build");
18 * Pass mb_strripos different data types as $offset arg to test behaviour
21 echo "*** Testing mb_strripos() : usage variations ***\n";
96 // loop through each element of $inputs to check the behavior of mb_strripos()
100 var_dump( mb_strripos($haystack, $needle, $input, $encoding));
109 *** Testing mb_strripos() : usage variations ***
168 Warning: mb_strripos() expects parameter 3 to be int, string given in %s on line %d
173 Warning: mb_strripos() expects parameter 3 to be int, string given in %s on line %d
178 Warning: mb_strripos() expects parameter 3 to be int, string given in %s on line %d
[all …]
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");
10 /* Prototype : int mb_strripos(string haystack, string needle [, int offset [, string encoding]])
17 * Test how mb_strripos() behaves when passed different integers as $offset argument
24 echo "*** Testing mb_strripos() : usage variations ***\n";
34 * mb_strripos should not be able to accept negative values as $offset.
40 var_dump(mb_strripos($string_ascii, $needle_ascii, $i));
42 var_dump(mb_strripos($string_mb, $needle_mb, $i, 'UTF-8'));
48 *** Testing mb_strripos() : usage variations ***
77 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
[all …]
/dports/www/mod_php73/php-7.3.33/ext/mbstring/tests/
H A Dmb_strripos_variation4.phpt6 function_exists('mb_strripos') or die("skip mb_strripos() is not available in this build");
21 echo "*** Testing mb_strripos() : usage variations ***\n";
109 *** Testing mb_strripos() : usage variations ***
113 Warning: mb_strripos(): Unknown encoding "0" in %s on line %d
118 Warning: mb_strripos(): Unknown encoding "1" in %s on line %d
158 Warning: mb_strripos(): Unknown encoding "" in %s on line %d
163 Warning: mb_strripos(): Unknown encoding "" in %s on line %d
173 Warning: mb_strripos(): Unknown encoding "" in %s on line %d
183 Warning: mb_strripos(): Unknown encoding "" in %s on line %d
188 Warning: mb_strripos(): Unknown encoding "" in %s on line %d
[all …]
H A Dmb_strripos_error1.phpt2 Test mb_strripos() function : error conditions - Pass incorrect number of args
6 function_exists('mb_strripos') or die("skip mb_strripos() is not available in this build");
17 * Test how mb_strripos behaves when passed an incorrect number of arguments
20 echo "*** Testing mb_strripos() : error conditions ***\n";
23 //Test mb_strripos with one more than the expected number of arguments
30 var_dump( mb_strripos($haystack, $needle, $offset, $encoding, $extra_arg) );
32 // Testing mb_strripos with one less than the expected number of arguments
35 var_dump( mb_strripos($haystack) );
40 *** Testing mb_strripos() : error conditions ***
42 -- Testing mb_strripos() function with more than expected no. of arguments --
[all …]
H A Dmb_strripos_variation3_Bug45923.phpt2 Test mb_strripos() function : usage variations - pass different data types as $offset arg
6 function_exists('mb_strripos') or die("skip mb_strripos() is not available in this build");
18 * Pass mb_strripos different data types as $offset arg to test behaviour
21 echo "*** Testing mb_strripos() : usage variations ***\n";
96 // loop through each element of $inputs to check the behavior of mb_strripos()
100 var_dump( mb_strripos($haystack, $needle, $input, $encoding));
109 *** Testing mb_strripos() : usage variations ***
168 Warning: mb_strripos() expects parameter 3 to be int, string given in %s on line %d
173 Warning: mb_strripos() expects parameter 3 to be int, string given in %s on line %d
178 Warning: mb_strripos() expects parameter 3 to be int, string given in %s on line %d
[all …]
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");
10 /* Prototype : int mb_strripos(string haystack, string needle [, int offset [, string encoding]])
17 * Test how mb_strripos() behaves when passed different integers as $offset argument
24 echo "*** Testing mb_strripos() : usage variations ***\n";
34 * mb_strripos should not be able to accept negative values as $offset.
40 var_dump(mb_strripos($string_ascii, $needle_ascii, $i));
42 var_dump(mb_strripos($string_mb, $needle_mb, $i, 'UTF-8'));
48 *** Testing mb_strripos() : usage variations ***
77 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
[all …]
/dports/converters/php80-mbstring/php-8.0.15/ext/mbstring/tests/
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 …]
/dports/lang/php80/php-8.0.15/ext/mbstring/tests/
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 …]
/dports/www/mod_php80/php-8.0.15/ext/mbstring/tests/
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 …]
/dports/converters/php81-mbstring/php-8.1.1/ext/mbstring/tests/
H A Dmb_strripos_variation5_Bug45923.phpt2 Test mb_strripos() function : usage variations - Pass different integers as $offset argument
8 * Test how mb_strripos() behaves when passed different integers as $offset argument
15 echo "*** Testing mb_strripos() : usage variations ***\n";
25 * mb_strripos should not be able to accept negative values as $offset.
32 var_dump(mb_strripos($string_ascii, $needle_ascii, $i));
39 var_dump(mb_strripos($string_mb, $needle_mb, $i, 'UTF-8'));
47 *** Testing mb_strripos() : usage variations ***
75 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
77 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
81 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
15 var_dump(mb_strripos($string_ascii, ''));
18 var_dump(mb_strripos($string_ascii, '', 2));
21 var_dump(mb_strripos($string_ascii, '', -2));
25 var_dump(mb_strripos($string_ascii, '', 15));
32 var_dump(mb_strripos($string_ascii, '', -15));
39 var_dump(mb_strripos($string_mb, ''));
42 var_dump(mb_strripos($string_mb, '', 2));
45 var_dump(mb_strripos($string_mb, '', -2));
49 var_dump(mb_strripos($string_mb, '', 150));
[all …]
/dports/www/mod_php81/php-8.1.1/ext/mbstring/tests/
H A Dmb_strripos_variation5_Bug45923.phpt2 Test mb_strripos() function : usage variations - Pass different integers as $offset argument
8 * Test how mb_strripos() behaves when passed different integers as $offset argument
15 echo "*** Testing mb_strripos() : usage variations ***\n";
25 * mb_strripos should not be able to accept negative values as $offset.
32 var_dump(mb_strripos($string_ascii, $needle_ascii, $i));
39 var_dump(mb_strripos($string_mb, $needle_mb, $i, 'UTF-8'));
47 *** Testing mb_strripos() : usage variations ***
75 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
77 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
81 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
[all …]
/dports/lang/php81/php-8.1.1/ext/mbstring/tests/
H A Dmb_strripos_variation5_Bug45923.phpt2 Test mb_strripos() function : usage variations - Pass different integers as $offset argument
8 * Test how mb_strripos() behaves when passed different integers as $offset argument
15 echo "*** Testing mb_strripos() : usage variations ***\n";
25 * mb_strripos should not be able to accept negative values as $offset.
32 var_dump(mb_strripos($string_ascii, $needle_ascii, $i));
39 var_dump(mb_strripos($string_mb, $needle_mb, $i, 'UTF-8'));
47 *** Testing mb_strripos() : usage variations ***
75 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
77 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
81 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
[all …]
/dports/converters/php74-mbstring/php-7.4.27/ext/mbstring/tests/
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");
10 /* Prototype : int mb_strripos(string haystack, string needle [, int offset [, string encoding]])
17 * Test how mb_strripos() behaves when passed different integers as $offset argument
24 echo "*** Testing mb_strripos() : usage variations ***\n";
34 * mb_strripos should not be able to accept negative values as $offset.
40 var_dump(mb_strripos($string_ascii, $needle_ascii, $i));
42 var_dump(mb_strripos($string_mb, $needle_mb, $i, 'UTF-8'));
48 *** Testing mb_strripos() : usage variations ***
77 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
[all …]
/dports/lang/php74/php-7.4.27/ext/mbstring/tests/
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");
10 /* Prototype : int mb_strripos(string haystack, string needle [, int offset [, string encoding]])
17 * Test how mb_strripos() behaves when passed different integers as $offset argument
24 echo "*** Testing mb_strripos() : usage variations ***\n";
34 * mb_strripos should not be able to accept negative values as $offset.
40 var_dump(mb_strripos($string_ascii, $needle_ascii, $i));
42 var_dump(mb_strripos($string_mb, $needle_mb, $i, 'UTF-8'));
48 *** Testing mb_strripos() : usage variations ***
77 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
[all …]
/dports/www/mod_php74/php-7.4.27/ext/mbstring/tests/
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");
10 /* Prototype : int mb_strripos(string haystack, string needle [, int offset [, string encoding]])
17 * Test how mb_strripos() behaves when passed different integers as $offset argument
24 echo "*** Testing mb_strripos() : usage variations ***\n";
34 * mb_strripos should not be able to accept negative values as $offset.
40 var_dump(mb_strripos($string_ascii, $needle_ascii, $i));
42 var_dump(mb_strripos($string_mb, $needle_mb, $i, 'UTF-8'));
48 *** Testing mb_strripos() : usage variations ***
77 Warning: mb_strripos(): Offset is greater than the length of haystack string in %s on line %d
[all …]

1234567891011