/PHP-8.0/ext/mbstring/tests/ |
H A D | mb_stripos.phpt | 2 mb_stripos() 80 print mb_stripos($euc_jp, '0', 0) . "\n"; 81 print mb_stripos($euc_jp, 3, 0) . "\n"; 82 print mb_stripos($euc_jp, 0, 0) . "\n"; 84 $r = mb_stripos($euc_jp, '�ڹ��', 0); 86 $r = mb_stripos($euc_jp, "\n", 0); 95 print mb_stripos($euc_jp, '0') . "\n"; 96 print mb_stripos($euc_jp, 3) . "\n"; 97 print mb_stripos($euc_jp, 0) . "\n"; 99 $r = mb_stripos($euc_jp, '�ڹ��'); [all …]
|
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_variation5_Bug45923.phpt | 2 Test mb_stripos() function : usage variations - Pass different integers as $offset argument 6 function_exists('mb_stripos') or die("skip mb_stripos() is not available in this build"); 11 * Test how mb_stripos() behaves when passed different integers as $offset argument 18 echo "*** Testing mb_stripos() : usage variations ***\n"; 28 * mb_stripos should not be able to accept negative values as $offset. 35 var_dump(mb_stripos($string_ascii, $needle_ascii, $i)); 41 var_dump(mb_stripos($string_mb, $needle_mb, $i, 'UTF-8')); 49 *** Testing mb_stripos() : usage variations *** 53 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 55 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) [all …]
|
H A D | mb_stripos_error2.phpt | 2 Test mb_stripos() function : error conditions - Pass unknown encoding 6 function_exists('mb_stripos') or die("skip mb_stripos() is not available in this build"); 11 * Pass an unknown encoding to mb_stripos() to test behaviour 14 echo "*** Testing mb_stripos() : error conditions ***\n"; 21 var_dump( mb_stripos($haystack, $needle, $offset, $encoding) ); 28 *** Testing mb_stripos() : error conditions *** 29 mb_stripos(): Argument #4 ($encoding) must be a valid encoding, "unknown-encoding" given
|
H A D | mb_stripos_empty_needle.phpt | 2 Test mb_stripos() function : with empty needle 6 function_exists('mb_stripos') or die("skip mb_stripos() is not available in this build"); 18 var_dump(mb_stripos($string_ascii, '')); 21 var_dump(mb_stripos($string_ascii, '', 2)); 24 var_dump(mb_stripos($string_ascii, '', -2)); 28 var_dump(mb_stripos($string_ascii, '', 150)); 42 var_dump(mb_stripos($string_mb, '')); 45 var_dump(mb_stripos($string_mb, '', 2)); 48 var_dump(mb_stripos($string_mb, '', -2)); 52 var_dump(mb_stripos($string_mb, '', 150)); [all …]
|
H A D | mb_stripos_basic2.phpt | 2 Test mb_stripos() function : basic functionality 6 function_exists('mb_stripos') or die("skip mb_stripos() is not available in this build"); 11 * Test basic functionality of mb_stripos with ASCII and multibyte characters 14 echo "*** Testing mb_stripos() : basic functionality***\n"; 53 var_dump(mb_stripos($haystack, $needle)); 54 var_dump(mb_stripos($haystack, $needle, 6)); 61 var_dump(mb_stripos($haystack, $needle)); 62 var_dump(mb_stripos($haystack, $needle, 4)); 69 *** Testing mb_stripos() : basic functionality***
|
H A D | mb_stripos_basic.phpt | 2 Test mb_stripos() function : basic functionality 6 function_exists('mb_stripos') or die("skip mb_stripos() is not available in this build"); 11 * Test basic functionality of mb_stripos with ASCII and multibyte characters 14 echo "*** Testing mb_stripos() : basic functionality***\n"; 75 var_dump(mb_stripos($haystack, $needle)); 87 var_dump(mb_stripos($haystack, $needle)); 95 *** Testing mb_stripos() : basic functionality***
|
H A D | mb_strpos_offset_errors.phpt | 27 var_dump(mb_stripos("f", "bar", 3)); 32 var_dump(mb_stripos("f", "bar", -3)); 53 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 54 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
|
H A D | mb_internal_encoding_ini_basic2.phpt | 6 function_exists('mb_stripos') or die("skip mb_stripos() is not available in this build");
|
H A D | mb_internal_encoding_ini_invalid_encoding.phpt | 6 function_exists('mb_stripos') or die("skip mb_stripos() is not available in this build");
|
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";
|
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.0/ext/mbstring/ |
H A D | mbstring_arginfo.h | 319 ZEND_FUNCTION(mb_stripos); 413 ZEND_FE(mb_stripos, arginfo_mb_stripos)
|
H A D | mbstring.stub.php | 32 function mb_stripos(string $haystack, string $needle, int $offset = 0, ?string $encoding = null): i… function
|
H A D | mbstring.c | 1934 PHP_FUNCTION(mb_stripos) in PHP_FUNCTION() argument
|
/PHP-8.0/ |
H A D | UPGRADING | 384 . The needle argument for mb_strpos(), mb_strrpos(), mb_stripos(),
|