Lines Matching refs:mb_stripos
2 mb_stripos()
23 print mb_stripos($euc_jp, "\xC6\xFC\xCB\xDC\xB8\xEC", 0, 'EUC-JP') . "\n";
24 print mb_stripos($euc_jp, '0', 0, 'EUC-JP') . "\n";
25 print mb_stripos($euc_jp, 3, 0, 'EUC-JP') . "\n";
26 print mb_stripos($euc_jp, 0, 0, 'EUC-JP') . "\n";
27 print mb_stripos($euc_jp, "\xC6\xFC\xCB\xDC\xB8\xEC", 15, 'EUC-JP') . "\n";
28 print mb_stripos($euc_jp, '0', 15, 'EUC-JP') . "\n";
29 print mb_stripos($euc_jp, 3, 15, 'EUC-JP') . "\n";
30 print mb_stripos($euc_jp, 0, 15, 'EUC-JP') . "\n";
36 print mb_stripos($euc_jp, "\xC6\xFC\xCB\xDC\xB8\xEC", -15, 'EUC-JP') . "\n";
37 print mb_stripos($euc_jp, '0', -15, 'EUC-JP') . "\n";
38 print mb_stripos($euc_jp, 3, -15, 'EUC-JP') . "\n";
39 print mb_stripos($euc_jp, 0, -15, 'EUC-JP') . "\n";
40 print mb_stripos($euc_jp, 0, -43, 'EUC-JP') . "\n";
46 $r = mb_stripos($euc_jp, "\xC6\xFC\xCB\xDC\xB8\xEC", 40, 'EUC-JP');
48 $r = mb_stripos($euc_jp, '0', 40, 'EUC-JP');
50 $r = mb_stripos($euc_jp, 3, 40, 'EUC-JP');
52 $r = mb_stripos($euc_jp, 0, 40, 'EUC-JP');
54 $r = mb_stripos($euc_jp, "\xC6\xFC\xCB\xDC\xB8\xEC", -3, 'EUC-JP');
56 $r = mb_stripos($euc_jp, '0', -3, 'EUC-JP');
58 $r = mb_stripos($euc_jp, 3, -3, 'EUC-JP');
60 $r = mb_stripos($euc_jp, 0, -3, 'EUC-JP');
67 $r = mb_stripos($euc_jp, "\xB4\xDA\xB9\xF1\xB8\xEC", 0, 'EUC-JP');
69 $r = mb_stripos($euc_jp, "\n", 0, 'EUC-JP');
78 print mb_stripos($euc_jp, "\xC6\xFC\xCB\xDC\xB8\xEC", 0) . "\n";
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";
83 $r = mb_stripos($euc_jp, "\xB4\xDA\xB9\xF1\xB8\xEC", 0);
85 $r = mb_stripos($euc_jp, "\n", 0);
93 print mb_stripos($euc_jp, "\xC6\xFC\xCB\xDC\xB8\xEC") . "\n";
94 print mb_stripos($euc_jp, '0') . "\n";
95 print mb_stripos($euc_jp, 3) . "\n";
96 print mb_stripos($euc_jp, 0) . "\n";
98 $r = mb_stripos($euc_jp, "\xB4\xDA\xB9\xF1\xB8\xEC");
100 $r = mb_stripos($euc_jp, "\n");
105 // Previously, mb_stripos would internally convert invalid byte sequences to the
111 var_dump(mb_stripos("abc%%", "\xFF", 0, "UTF-8")); // should be false
112 var_dump(mb_stripos("abc\xFF", "%", 0, "UTF-8")); // should be false
115 var_dump(mb_stripos("abc\x80\x80", "\xFF", 0, "UTF-8"));
116 var_dump(mb_stripos("abc\xFF", "c\x80", 0, "UTF-8"));