Home
last modified time | relevance | path

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

/PHP-7.4/ext/mbstring/tests/
H A Dmb_stripos.phpt2 mb_stripos()
105 print mb_stripos($euc_jp, 3, 0) . "\n";
106 print mb_stripos($euc_jp, 0, 0) . "\n";
108 $r = mb_stripos($euc_jp, '�ڹ��', 0);
110 $r = mb_stripos($euc_jp, "\n", 0);
119 print mb_stripos($euc_jp, '0') . "\n";
120 print mb_stripos($euc_jp, 3) . "\n";
121 print mb_stripos($euc_jp, 0) . "\n";
123 $r = mb_stripos($euc_jp, '�ڹ��');
125 $r = mb_stripos($euc_jp, "\n");
[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");
10 /* Prototype : int mb_stripos(string haystack, string needle [, int offset [, string encoding]])
17 * Pass an unknown encoding to mb_stripos() to test behaviour
20 echo "*** Testing mb_stripos() : error conditions ***\n";
26 var_dump( mb_stripos($haystack, $needle, $offset, $encoding) );
31 *** Testing mb_stripos() : error conditions ***
33 Warning: mb_stripos(): Unknown encoding "unknown-encoding" in %s on line %d
H A Dmb_stripos_variation5_Bug45923.phpt6 function_exists('mb_stripos') or die("skip mb_stripos() is not available in this build");
23 echo "*** Testing mb_stripos() : usage variations ***\n";
33 * mb_stripos should not be able to accept negative values as $offset.
39 var_dump(mb_stripos($string_ascii, $needle_ascii, $i));
41 var_dump(mb_stripos($string_mb, $needle_mb, $i, 'UTF-8'));
47 *** Testing mb_stripos() : usage variations ***
52 Warning: mb_stripos(): Offset not contained in string in %s on line %d
56 Warning: mb_stripos(): Offset not contained in string in %s on line %d
92 Warning: mb_stripos(): Offset not contained in string in %s on line %d
96 Warning: mb_stripos(): Offset not contained in string in %s on line %d
[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");
10 /* Prototype : int mb_stripos(string haystack, string needle [, int offset [, string encoding]])
17 * Test basic functionality of mb_stripos with ASCII and multibyte characters
20 echo "*** Testing mb_stripos() : basic functionality***\n";
59 var_dump(mb_stripos($haystack, $needle));
60 var_dump(mb_stripos($haystack, $needle, 6));
67 var_dump(mb_stripos($haystack, $needle));
68 var_dump(mb_stripos($haystack, $needle, 4));
75 *** 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");
10 /* Prototype : int mb_stripos(string haystack, string needle [, int offset [, string encoding]])
17 * Test basic functionality of mb_stripos with ASCII and multibyte characters
20 echo "*** Testing mb_stripos() : basic functionality***\n";
81 var_dump(mb_stripos($haystack, $needle));
93 var_dump(mb_stripos($haystack, $needle));
101 *** Testing mb_stripos() : basic functionality***
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 Dbug77025.phpt9 var_dump(mb_stripos('Hello', 'e', 0, '8bit'));
H A Dmb_get_info.phpt48 string(10) "mb_stripos"
112 string(10) "mb_stripos"
138 string(10) "mb_stripos"
H A Dcasefolding.phpt24 var_dump(mb_stripos($a, $b));
H A Dbug45923.phpt21 section('mb_stripos' , "●○◆ ●○◆ ●○◆", "●○◆");
111 ------- mb_stripos -----------
125 Warning: mb_stripos(): Offset not contained in string in %s on line %d
135 Warning: mb_stripos(): Offset not contained in string in %s on line %d
H A Dmb_str_functions_opt-parameter.phpt9 echo mb_stripos('abb', 'B', null, 'UTF-8') . "\n";
H A Dmb_str_unknown_encoding.phpt18 mb_stripos('coudenys', 'cou', 0, 'UTF-0');
50 Warning: mb_stripos(): Unknown encoding "UTF-0" in %s on line %d
/PHP-7.4/ext/mbstring/
H A Dmbstring.h85 PHP_FUNCTION(mb_stripos);
H A Dmbstring.c554 PHP_FE(mb_stripos, arginfo_mb_stripos)
2647 PHP_FUNCTION(mb_stripos) in PHP_FUNCTION() argument

Completed in 47 milliseconds