Home
last modified time | relevance | path

Searched refs:mb_stripos (Results 1 – 16 of 16) sorted by relevance

/PHP-8.3/ext/mbstring/tests/
H A Dmb_stripos_invalid_offset.phpt2 mb_stripos() with invalid offsets
21 var_dump( mb_stripos($string, '日本語', 44));
27 var_dump( mb_stripos($string, '日本語', 50));
33 var_dump( mb_stripos($string, '0', 50));
39 var_dump(mb_stripos($string, 3, 50));
45 var_dump(mb_stripos($string, 0, 50));
51 var_dump(mb_stripos($string, '日本語', -50));
57 var_dump(mb_stripos($string, '0', -50));
63 var_dump(mb_stripos($string, 3, -50));
69 var_dump(mb_stripos($string, 0, -50));
[all …]
H A Dmb_stripos.phpt2 mb_stripos()
48 $r = mb_stripos($euc_jp, '0', 40, 'EUC-JP');
50 $r = mb_stripos($euc_jp, 3, 40, 'EUC-JP');
79 print mb_stripos($euc_jp, '0', 0) . "\n";
80 print mb_stripos($euc_jp, 3, 0) . "\n";
81 print mb_stripos($euc_jp, 0, 0) . "\n";
85 $r = mb_stripos($euc_jp, "\n", 0);
94 print mb_stripos($euc_jp, '0') . "\n";
95 print mb_stripos($euc_jp, 3) . "\n";
96 print mb_stripos($euc_jp, 0) . "\n";
[all …]
H A Dmb_stripos_variation5_Bug45923.phpt2 Test mb_stripos() function : usage variations - Pass different integers as $offset argument
8 * Test how mb_stripos() behaves when passed different integers as $offset argument
15 echo "*** Testing mb_stripos() : usage variations ***\n";
25 * mb_stripos should not be able to accept negative values as $offset.
32 var_dump(mb_stripos($string_ascii, $needle_ascii, $i));
38 var_dump(mb_stripos($string_mb, $needle_mb, $i, 'UTF-8'));
46 *** Testing mb_stripos() : usage variations ***
50 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
52 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
86 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
[all …]
H A Dmb_stripos_empty_needle.phpt2 Test mb_stripos() function : with empty needle
15 var_dump(mb_stripos($string_ascii, ''));
18 var_dump(mb_stripos($string_ascii, '', 2));
21 var_dump(mb_stripos($string_ascii, '', -2));
25 var_dump(mb_stripos($string_ascii, '', 150));
32 var_dump(mb_stripos($string_ascii, '', -150));
39 var_dump(mb_stripos($string_mb, ''));
42 var_dump(mb_stripos($string_mb, '', 2));
45 var_dump(mb_stripos($string_mb, '', -2));
49 var_dump(mb_stripos($string_mb, '', 150));
[all …]
H A Dmb_stripos_error2.phpt2 Test mb_stripos() function : error conditions - Pass unknown encoding
8 * Pass an unknown encoding to mb_stripos() to test behaviour
11 echo "*** Testing mb_stripos() : error conditions ***\n";
18 var_dump( mb_stripos($haystack, $needle, $offset, $encoding) );
25 *** Testing mb_stripos() : error conditions ***
26 mb_stripos(): Argument #4 ($encoding) must be a valid encoding, "unknown-encoding" given
H A Dmb_stripos_basic2.phpt2 Test mb_stripos() function : basic functionality
8 * Test basic functionality of mb_stripos with ASCII and multibyte characters
11 echo "*** Testing mb_stripos() : basic functionality***\n";
50 var_dump(mb_stripos($haystack, $needle));
51 var_dump(mb_stripos($haystack, $needle, 6));
58 var_dump(mb_stripos($haystack, $needle));
59 var_dump(mb_stripos($haystack, $needle, 4));
66 *** Testing mb_stripos() : basic functionality***
H A Dmb_strpos_offset_errors.phpt29 var_dump(mb_stripos("f", "bar", 3));
34 var_dump(mb_stripos("f", "bar", -3));
55 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
56 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
H A Dmb_stripos_basic.phpt2 Test mb_stripos() function : basic functionality
8 * Test basic functionality of mb_stripos with ASCII and multibyte characters
11 echo "*** Testing mb_stripos() : basic functionality***\n";
72 var_dump(mb_stripos($haystack, $needle));
84 var_dump(mb_stripos($haystack, $needle));
92 *** Testing mb_stripos() : basic functionality***
H A Dbug45923.phpt25 section('mb_stripos' , "●○◆ ●○◆ ●○◆", "●○◆");
103 ------- mb_stripos -----------
116 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
124 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
H A Dbug77025.phpt9 var_dump(mb_stripos('Hello', 'e', 0, '8bit'));
H A Dcasefolding.phpt24 var_dump(mb_stripos($a, $b));
H A Dmb_str_functions_opt-parameter.phpt9 echo mb_stripos('abb', 'B', null, 'UTF-8') . "\n";
26 Deprecated: mb_stripos(): Passing null to parameter #3 ($offset) of type int is deprecated in %s on…
H A Dmb_str_unknown_encoding.phpt60 mb_stripos('coudenys', 'cou', 0, 'UTF-0');
153 mb_stripos(): Argument #4 ($encoding) must be a valid encoding, "UTF-0" given
/PHP-8.3/ext/mbstring/
H A Dmbstring_arginfo.h327 ZEND_FUNCTION(mb_stripos);
422 ZEND_FE(mb_stripos, arginfo_mb_stripos)
H A Dmbstring.stub.php95 function mb_stripos(string $haystack, string $needle, int $offset = 0, ?string $encoding = null): i… function
H A Dmbstring.c2025 PHP_FUNCTION(mb_stripos) in PHP_FUNCTION() argument

Completed in 42 milliseconds