Lines Matching refs:r

34 $r = mb_strpos($euc_jp, b'���ܸ�', -15, 'EUC-JP');
35 ($r === FALSE) ? print "OK_NEGATIVE_OFFSET\n" : print "NG_NEGATIVE_OFFSET\n";
36 $r = mb_strpos($euc_jp, b'0', -15, 'EUC-JP');
37 ($r === FALSE) ? print "OK_NEGATIVE_OFFSET\n" : print "NG_NEGATIVE_OFFSET\n";
38 $r = mb_strpos($euc_jp, 3, -15, 'EUC-JP');
39 ($r === FALSE) ? print "OK_NEGATIVE_OFFSET\n" : print "NG_NEGATIVE_OFFSET\n";
40 $r = mb_strpos($euc_jp, 0, -15, 'EUC-JP');
41 ($r === FALSE) ? print "OK_NEGATIVE_OFFSET\n" : print "NG_NEGATIVE_OFFSET\n";
42 $r = mb_strpos($euc_jp, b'���ܸ�', -50, 'EUC-JP');
43 ($r === FALSE) ? print "OK_NEGATIVE_OFFSET\n" : print "NG_NEGATIVE_OFFSET\n";
44 $r = mb_strpos($euc_jp, b'0', -50, 'EUC-JP');
45 ($r === FALSE) ? print "OK_NEGATIVE_OFFSET\n" : print "NG_NEGATIVE_OFFSET\n";
46 $r = mb_strpos($euc_jp, 3, -50, 'EUC-JP');
47 ($r === FALSE) ? print "OK_NEGATIVE_OFFSET\n" : print "NG_NEGATIVE_OFFSET\n";
48 $r = mb_strpos($euc_jp, 0, -50, 'EUC-JP');
49 ($r === FALSE) ? print "OK_NEGATIVE_OFFSET\n" : print "NG_NEGATIVE_OFFSET\n";
53 $r = mb_strpos($euc_jp, b'���ܸ�', 40, 'EUC-JP');
54 ($r === FALSE) ? print "OK_OUT_RANGE\n" : print "NG_OUT_RANGE\n";
55 $r = mb_strpos($euc_jp, b'0', 40, 'EUC-JP');
56 ($r === FALSE) ? print "OK_OUT_RANGE\n" : print "NG_OUT_RANGE\n";
57 $r = mb_strpos($euc_jp, 3, 40, 'EUC-JP');
58 ($r === FALSE) ? print "OK_OUT_RANGE\n" : print "NG_OUT_RANGE\n";
59 $r = mb_strpos($euc_jp, 0, 40, 'EUC-JP');
60 ($r === FALSE) ? print "OK_OUT_RANGE\n" : print "NG_OUT_RANGE\n";
62 // echo gettype($r). ' val '. $r ."\n";
67 $r = mb_strpos($euc_jp, b'�ڹ��', 0, 'EUC-JP');
68 ($r === FALSE) ? print "OK_STR\n" : print "NG_STR\n";
69 $r = mb_strpos($euc_jp, b"\n", 0, 'EUC-JP');
70 ($r === FALSE) ? print "OK_NEWLINE\n" : print "NG_NEWLINE\n";
82 $r = mb_strpos($euc_jp, b'�ڹ��', 0);
83 ($r === FALSE) ? print "OK_STR\n" : print "NG_STR\n";
84 $r = mb_strpos($euc_jp, b"\n", 0);
85 ($r === FALSE) ? print "OK_NEWLINE\n" : print "NG_NEWLINE\n";
96 $r = mb_strpos($euc_jp, b'�ڹ��');
97 ($r === FALSE) ? print "OK_STR\n" : print "NG_STR\n";
98 $r = mb_strpos($euc_jp, b"\n");
99 ($r === FALSE) ? print "OK_NEWLINE\n" : print "NG_NEWLINE\n";
105 $r = mb_strpos($euc_jp,'','EUC-JP');
106 ($r === NULL) ? print("OK_NULL\n") : print("NG_NULL\n");
107 $r = mb_strpos($euc_jp, $t_ary, 'EUC-JP');
108 ($r === NULL) ? print("OK_ARRAY\n") : print("NG_ARRAY\n");
109 $r = mb_strpos($euc_jp, $t_obj, 'EUC-JP');
110 ($r === NULL) ? print("OK_OBJECT\n") : print("NG_OBJECT\n");
111 $r = mb_strpos($euc_jp, $t_obj, 'BAD_ENCODING');
112 ($r === NULL) ? print("OK_BAD_ENCODING\n") : print("NG_BAD_ENCODING\n");