Lines Matching refs:s
24 $s = $sjis;
25 $s = mb_detect_encoding($s, 'SJIS');
26 print("SJIS: $s\n");
28 $s = $jis;
29 $s = mb_detect_encoding($s, 'JIS');
30 print("JIS: $s\n");
32 $s = $euc_jp;
33 $s = mb_detect_encoding($s, 'UTF-8,EUC-JP,JIS');
34 print("EUC-JP: $s\n");
36 $s = $euc_jp;
37 $s = mb_detect_encoding($s, 'JIS,EUC-JP');
38 print("EUC-JP: $s\n");
48 $s = $jis;
49 $s = mb_detect_encoding($s, $a);
50 print("JIS: $s\n");
52 $s = $euc_jp;
53 $s = mb_detect_encoding($s, $a);
54 print("EUC-JP: $s\n");
56 $s = $sjis;
57 $s = mb_detect_encoding($s, $a);
58 print("SJIS: $s\n");
67 $s = $jis;
68 $s = mb_detect_encoding($s);
69 print("JIS: $s\n");
71 $s = $euc_jp;
72 $s = mb_detect_encoding($s);
73 print("EUC-JP: $s\n");
75 $s = $sjis;
76 $s = mb_detect_encoding($s);
77 print("SJIS: $s\n");
83 $s = mb_detect_encoding(1234, 'EUC-JP');
84 print("INT: $s\n"); // EUC-JP
86 $s = mb_detect_encoding('', 'EUC-JP');
87 print("EUC-JP: $s\n"); // SJIS
89 $s = $euc_jp;
90 $s = mb_detect_encoding($s, 'BAD');
91 print("BAD: $s\n"); // BAD
93 $s = $euc_jp;
94 $s = mb_detect_encoding();
95 print("MP: $s\n"); // Missing parameter