/PHP-8.4/ext/mbstring/tests/ |
H A D | mb_stripos_invalid_offset.phpt | 2 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 D | mb_stripos.phpt | 2 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 D | mb_stripos_variation5_Bug45923.phpt | 2 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 D | mb_stripos_empty_needle.phpt | 2 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 D | mb_stripos_error2.phpt | 2 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 D | mb_stripos_basic2.phpt | 2 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 D | mb_strpos_offset_errors.phpt | 29 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 D | mb_stripos_basic.phpt | 2 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 D | bug45923.phpt | 25 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 D | bug77025.phpt | 9 var_dump(mb_stripos('Hello', 'e', 0, '8bit'));
|
H A D | casefolding.phpt | 24 var_dump(mb_stripos($a, $b));
|
H A D | mb_str_functions_opt-parameter.phpt | 9 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 D | mb_str_unknown_encoding.phpt | 60 mb_stripos('coudenys', 'cou', 0, 'UTF-0'); 153 mb_stripos(): Argument #4 ($encoding) must be a valid encoding, "UTF-0" given
|
/PHP-8.4/ext/mbstring/ |
H A D | mbstring_arginfo.h | 310 ZEND_FUNCTION(mb_stripos); 379 ZEND_FE(mb_stripos, arginfo_mb_stripos)
|
H A D | mbstring.stub.php | 95 function mb_stripos(string $haystack, string $needle, int $offset = 0, ?string $encoding = null): i… function
|
H A D | mbstring.c | 2030 PHP_FUNCTION(mb_stripos) in PHP_FUNCTION() argument
|