Lines Matching refs:r
47 $r = mb_strpos($euc_jp, '���ܸ�', 44, 'EUC-JP');
48 ($r === FALSE) ? print "OK_INVALID_OFFSET\n" : print "NG_INVALID_OFFSET\n";
49 $r = mb_strpos($euc_jp, '���ܸ�', 50, 'EUC-JP');
50 ($r === FALSE) ? print "OK_INVALID_OFFSET\n" : print "NG_INVALID_OFFSET\n";
51 $r = mb_strpos($euc_jp, '0', 50, 'EUC-JP');
52 ($r === FALSE) ? print "OK_INVALID_OFFSET\n" : print "NG_INVALID_OFFSET\n";
53 $r = mb_strpos($euc_jp, 3, 50, 'EUC-JP');
54 ($r === FALSE) ? print "OK_INVALID_OFFSET\n" : print "NG_INVALID_OFFSET\n";
55 $r = mb_strpos($euc_jp, 0, 50, 'EUC-JP');
56 ($r === FALSE) ? print "OK_INVALID_OFFSET\n" : print "NG_INVALID_OFFSET\n";
57 $r = mb_strpos($euc_jp, '���ܸ�', -50, 'EUC-JP');
58 ($r === FALSE) ? print "OK_INVALID_OFFSET\n" : print "NG_INVALID_OFFSET\n";
59 $r = mb_strpos($euc_jp, '0', -50, 'EUC-JP');
60 ($r === FALSE) ? print "OK_INVALID_OFFSET\n" : print "NG_INVALID_OFFSET\n";
61 $r = mb_strpos($euc_jp, 3, -50, 'EUC-JP');
62 ($r === FALSE) ? print "OK_INVALID_OFFSET\n" : print "NG_INVALID_OFFSET\n";
63 $r = mb_strpos($euc_jp, 0, -50, 'EUC-JP');
64 ($r === FALSE) ? print "OK_INVALID_OFFSET\n" : print "NG_INVALID_OFFSET\n";
65 $r = mb_strpos($euc_jp, 0, -44, 'EUC-JP');
66 ($r === FALSE) ? print "OK_INVALID_OFFSET\n" : print "NG_INVALID_OFFSET\n";
71 $r = mb_strpos($euc_jp, '���ܸ�', 40, 'EUC-JP');
72 ($r === FALSE) ? print "OK_OUT_RANGE\n" : print "NG_OUT_RANGE\n";
73 $r = mb_strpos($euc_jp, '0', 40, 'EUC-JP');
74 ($r === FALSE) ? print "OK_OUT_RANGE\n" : print "NG_OUT_RANGE\n";
75 $r = mb_strpos($euc_jp, 3, 40, 'EUC-JP');
76 ($r === FALSE) ? print "OK_OUT_RANGE\n" : print "NG_OUT_RANGE\n";
77 $r = mb_strpos($euc_jp, 0, 40, 'EUC-JP');
78 ($r === FALSE) ? print "OK_OUT_RANGE\n" : print "NG_OUT_RANGE\n";
79 $r = mb_strpos($euc_jp, '���ܸ�', -3, 'EUC-JP');
80 ($r === FALSE) ? print "OK_OUT_RANGE\n" : print "NG_OUT_RANGE\n";
81 $r = mb_strpos($euc_jp, '0', -3, 'EUC-JP');
82 ($r === FALSE) ? print "OK_OUT_RANGE\n" : print "NG_OUT_RANGE\n";
83 $r = mb_strpos($euc_jp, 3, -3, 'EUC-JP');
84 ($r === FALSE) ? print "OK_OUT_RANGE\n" : print "NG_OUT_RANGE\n";
85 $r = mb_strpos($euc_jp, 0, -3, 'EUC-JP');
86 ($r === FALSE) ? print "OK_OUT_RANGE\n" : print "NG_OUT_RANGE\n";
92 $r = mb_strpos($euc_jp, '�ڹ��', 0, 'EUC-JP');
93 ($r === FALSE) ? print "OK_STR\n" : print "NG_STR\n";
94 $r = mb_strpos($euc_jp, "\n", 0, 'EUC-JP');
95 ($r === FALSE) ? print "OK_NEWLINE\n" : print "NG_NEWLINE\n";
108 $r = mb_strpos($euc_jp, '�ڹ��', 0);
109 ($r === FALSE) ? print "OK_STR\n" : print "NG_STR\n";
110 $r = mb_strpos($euc_jp, "\n", 0);
111 ($r === FALSE) ? print "OK_NEWLINE\n" : print "NG_NEWLINE\n";
123 $r = mb_strpos($euc_jp, '�ڹ��');
124 ($r === FALSE) ? print "OK_STR\n" : print "NG_STR\n";
125 $r = mb_strpos($euc_jp, "\n");
126 ($r === FALSE) ? print "OK_NEWLINE\n" : print "NG_NEWLINE\n";
132 $r = mb_strpos($euc_jp,'','EUC-JP');
133 ($r === NULL) ? print("OK_NULL\n") : print("NG_NULL\n");
134 $r = mb_strpos($euc_jp, $t_ary, 'EUC-JP');
135 ($r === NULL) ? print("OK_ARRAY\n") : print("NG_ARRAY\n");
136 $r = mb_strpos($euc_jp, $t_obj, 'EUC-JP');
137 ($r === NULL) ? print("OK_OBJECT\n") : print("NG_OBJECT\n");
138 $r = mb_strpos($euc_jp, $t_obj, 'BAD_ENCODING');
139 ($r === NULL) ? print("OK_BAD_ENCODING\n") : print("NG_BAD_ENCODING\n");