Home
last modified time | relevance | path

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

/PHP-8.0/ext/mbstring/tests/
H A Dmb_stripos.phpt2 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 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_variation5_Bug45923.phpt2 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 Dmb_stripos_error2.phpt2 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 Dmb_stripos_empty_needle.phpt2 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 Dmb_stripos_basic2.phpt2 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 Dmb_stripos_basic.phpt2 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 Dmb_strpos_offset_errors.phpt27 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 Dmb_internal_encoding_ini_basic2.phpt6 function_exists('mb_stripos') or die("skip mb_stripos() is not available in this build");
H A Dmb_internal_encoding_ini_invalid_encoding.phpt6 function_exists('mb_stripos') or die("skip mb_stripos() is not available in this build");
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";
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.0/ext/mbstring/
H A Dmbstring_arginfo.h319 ZEND_FUNCTION(mb_stripos);
413 ZEND_FE(mb_stripos, arginfo_mb_stripos)
H A Dmbstring.stub.php32 function mb_stripos(string $haystack, string $needle, int $offset = 0, ?string $encoding = null): i… function
H A Dmbstring.c1934 PHP_FUNCTION(mb_stripos) in PHP_FUNCTION() argument
/PHP-8.0/
H A DUPGRADING384 . The needle argument for mb_strpos(), mb_strrpos(), mb_stripos(),

Completed in 40 milliseconds