Home
last modified time | relevance | path

Searched refs:mb_detect_encoding (Results 1 – 25 of 516) sorted by relevance

12345678910>>...21

/dports/converters/php74-mbstring/php-7.4.27/ext/mbstring/tests/
H A Dmb_detect_encoding.phpt2 mb_detect_encoding()
22 $s = mb_detect_encoding($s, 'SJIS');
26 $s = mb_detect_encoding($s, 'JIS');
46 $s = mb_detect_encoding($s, $a);
50 $s = mb_detect_encoding($s, $a);
54 $s = mb_detect_encoding($s, $a);
65 $s = mb_detect_encoding($s);
69 $s = mb_detect_encoding($s);
73 $s = mb_detect_encoding($s);
87 $s = mb_detect_encoding($s, 'BAD');
[all …]
/dports/lang/php74/php-7.4.27/ext/mbstring/tests/
H A Dmb_detect_encoding.phpt2 mb_detect_encoding()
22 $s = mb_detect_encoding($s, 'SJIS');
26 $s = mb_detect_encoding($s, 'JIS');
46 $s = mb_detect_encoding($s, $a);
50 $s = mb_detect_encoding($s, $a);
54 $s = mb_detect_encoding($s, $a);
65 $s = mb_detect_encoding($s);
69 $s = mb_detect_encoding($s);
73 $s = mb_detect_encoding($s);
87 $s = mb_detect_encoding($s, 'BAD');
[all …]
/dports/www/mod_php74/php-7.4.27/ext/mbstring/tests/
H A Dmb_detect_encoding.phpt2 mb_detect_encoding()
22 $s = mb_detect_encoding($s, 'SJIS');
26 $s = mb_detect_encoding($s, 'JIS');
46 $s = mb_detect_encoding($s, $a);
50 $s = mb_detect_encoding($s, $a);
54 $s = mb_detect_encoding($s, $a);
65 $s = mb_detect_encoding($s);
69 $s = mb_detect_encoding($s);
73 $s = mb_detect_encoding($s);
87 $s = mb_detect_encoding($s, 'BAD');
[all …]
/dports/converters/php80-mbstring/php-8.0.15/ext/mbstring/tests/
H A Dmb_detect_encoding.phpt2 mb_detect_encoding()
22 $s = mb_detect_encoding($s, 'SJIS');
26 $s = mb_detect_encoding($s, 'JIS');
46 $s = mb_detect_encoding($s, $a);
50 $s = mb_detect_encoding($s, $a);
54 $s = mb_detect_encoding($s, $a);
65 $s = mb_detect_encoding($s);
69 $s = mb_detect_encoding($s);
73 $s = mb_detect_encoding($s);
80 $s = mb_detect_encoding(1234, 'EUC-JP');
[all …]
H A Dmb_detect_encoding_empty_encoding_list.phpt2 Test mb_detect_encoding() function : empty encoding list
13 var_dump( mb_detect_encoding($string, ''));
18 var_dump( mb_detect_encoding($string, []));
25 mb_detect_encoding(): Argument #2 ($encodings) must specify at least one encoding
26 mb_detect_encoding(): Argument #2 ($encodings) must specify at least one encoding
/dports/lang/php80/php-8.0.15/ext/mbstring/tests/
H A Dmb_detect_encoding.phpt2 mb_detect_encoding()
22 $s = mb_detect_encoding($s, 'SJIS');
26 $s = mb_detect_encoding($s, 'JIS');
46 $s = mb_detect_encoding($s, $a);
50 $s = mb_detect_encoding($s, $a);
54 $s = mb_detect_encoding($s, $a);
65 $s = mb_detect_encoding($s);
69 $s = mb_detect_encoding($s);
73 $s = mb_detect_encoding($s);
80 $s = mb_detect_encoding(1234, 'EUC-JP');
[all …]
H A Dmb_detect_encoding_empty_encoding_list.phpt2 Test mb_detect_encoding() function : empty encoding list
13 var_dump( mb_detect_encoding($string, ''));
18 var_dump( mb_detect_encoding($string, []));
25 mb_detect_encoding(): Argument #2 ($encodings) must specify at least one encoding
26 mb_detect_encoding(): Argument #2 ($encodings) must specify at least one encoding
/dports/www/mod_php80/php-8.0.15/ext/mbstring/tests/
H A Dmb_detect_encoding.phpt2 mb_detect_encoding()
22 $s = mb_detect_encoding($s, 'SJIS');
26 $s = mb_detect_encoding($s, 'JIS');
46 $s = mb_detect_encoding($s, $a);
50 $s = mb_detect_encoding($s, $a);
54 $s = mb_detect_encoding($s, $a);
65 $s = mb_detect_encoding($s);
69 $s = mb_detect_encoding($s);
73 $s = mb_detect_encoding($s);
80 $s = mb_detect_encoding(1234, 'EUC-JP');
[all …]
H A Dmb_detect_encoding_empty_encoding_list.phpt2 Test mb_detect_encoding() function : empty encoding list
13 var_dump( mb_detect_encoding($string, ''));
18 var_dump( mb_detect_encoding($string, []));
25 mb_detect_encoding(): Argument #2 ($encodings) must specify at least one encoding
26 mb_detect_encoding(): Argument #2 ($encodings) must specify at least one encoding
/dports/lang/php73/php-7.3.33/ext/mbstring/tests/
H A Dmb_detect_encoding.phpt2 mb_detect_encoding()
25 $s = mb_detect_encoding($s, 'SJIS');
29 $s = mb_detect_encoding($s, 'JIS');
49 $s = mb_detect_encoding($s, $a);
53 $s = mb_detect_encoding($s, $a);
57 $s = mb_detect_encoding($s, $a);
68 $s = mb_detect_encoding($s);
72 $s = mb_detect_encoding($s);
76 $s = mb_detect_encoding($s);
90 $s = mb_detect_encoding($s, 'BAD');
[all …]
H A Dbug49536.phpt2 Bug #49536 (mb_detect_encoding() returns incorrect results when strict_mode is turned on)
8 var_dump(mb_detect_encoding("A\x81", "SJIS", false));
10 var_dump(mb_detect_encoding("A\x81", "SJIS", true));
12 var_dump(mb_detect_encoding("\xc0\x00", "UTF-8", false));
14 var_dump(mb_detect_encoding("\xc0\x00", "UTF-8", true));
/dports/converters/php73-mbstring/php-7.3.33/ext/mbstring/tests/
H A Dmb_detect_encoding.phpt2 mb_detect_encoding()
25 $s = mb_detect_encoding($s, 'SJIS');
29 $s = mb_detect_encoding($s, 'JIS');
49 $s = mb_detect_encoding($s, $a);
53 $s = mb_detect_encoding($s, $a);
57 $s = mb_detect_encoding($s, $a);
68 $s = mb_detect_encoding($s);
72 $s = mb_detect_encoding($s);
76 $s = mb_detect_encoding($s);
90 $s = mb_detect_encoding($s, 'BAD');
[all …]
/dports/www/mod_php73/php-7.3.33/ext/mbstring/tests/
H A Dmb_detect_encoding.phpt2 mb_detect_encoding()
25 $s = mb_detect_encoding($s, 'SJIS');
29 $s = mb_detect_encoding($s, 'JIS');
49 $s = mb_detect_encoding($s, $a);
53 $s = mb_detect_encoding($s, $a);
57 $s = mb_detect_encoding($s, $a);
68 $s = mb_detect_encoding($s);
72 $s = mb_detect_encoding($s);
76 $s = mb_detect_encoding($s);
90 $s = mb_detect_encoding($s, 'BAD');
[all …]
/dports/converters/php81-mbstring/php-8.1.1/ext/mbstring/tests/
H A Dmb_detect_encoding.phpt2 mb_detect_encoding()
21 print("SJIS: " . mb_detect_encoding($sjis, 'SJIS') . "\n");
22 print("JIS: " . mb_detect_encoding($jis, 'JIS') . "\n");
31 print("JIS: " . mb_detect_encoding($jis, $a) . "\n");
33 print("SJIS: " . mb_detect_encoding($sjis, $a) . "\n");
44 echo mb_detect_encoding($test, $encodings), "\n";
48 echo mb_detect_encoding($test, ['UTF-8', 'SJIS']), "\n";
69 print("JIS: " . mb_detect_encoding($jis) . "\n");
71 print("EUC-JP: " . mb_detect_encoding($euc_jp) . "\n");
73 print("SJIS: " . mb_detect_encoding($sjis) . "\n");
[all …]
H A Dbug81298.phpt2 Bug #81298: mb_detect_encoding() segfaults when 7bit encoding is specified
8 var_dump(mb_detect_encoding("foobar.", "7bit"));
9 var_dump(mb_detect_encoding("foobar.", "7bit,ascii"));
10 var_dump(mb_detect_encoding("foobar.", "7bit,ascii,utf8"));
11 var_dump(mb_detect_encoding("foobar.", "html"));
12 var_dump(mb_detect_encoding("foobar.", "ascii,html"));
H A Dmb_detect_encoding_empty_encoding_list.phpt2 Test mb_detect_encoding() function : empty encoding list
11 var_dump( mb_detect_encoding($string, ''));
16 var_dump( mb_detect_encoding($string, []));
23 mb_detect_encoding(): Argument #2 ($encodings) must specify at least one encoding
24 mb_detect_encoding(): Argument #2 ($encodings) must specify at least one encoding
H A Dbug49536.phpt2 Bug #49536 (mb_detect_encoding() returns incorrect results when strict_mode is turned on)
8 var_dump(mb_detect_encoding("A\x81", "SJIS", false));
10 var_dump(mb_detect_encoding("A\x81", "SJIS", true));
12 var_dump(mb_detect_encoding("\xc0\x00", "UTF-8", false));
14 var_dump(mb_detect_encoding("\xc0\x00", "UTF-8", true));
/dports/www/mod_php81/php-8.1.1/ext/mbstring/tests/
H A Dmb_detect_encoding.phpt2 mb_detect_encoding()
21 print("SJIS: " . mb_detect_encoding($sjis, 'SJIS') . "\n");
22 print("JIS: " . mb_detect_encoding($jis, 'JIS') . "\n");
31 print("JIS: " . mb_detect_encoding($jis, $a) . "\n");
33 print("SJIS: " . mb_detect_encoding($sjis, $a) . "\n");
44 echo mb_detect_encoding($test, $encodings), "\n";
48 echo mb_detect_encoding($test, ['UTF-8', 'SJIS']), "\n";
69 print("JIS: " . mb_detect_encoding($jis) . "\n");
71 print("EUC-JP: " . mb_detect_encoding($euc_jp) . "\n");
73 print("SJIS: " . mb_detect_encoding($sjis) . "\n");
[all …]
H A Dbug81298.phpt2 Bug #81298: mb_detect_encoding() segfaults when 7bit encoding is specified
8 var_dump(mb_detect_encoding("foobar.", "7bit"));
9 var_dump(mb_detect_encoding("foobar.", "7bit,ascii"));
10 var_dump(mb_detect_encoding("foobar.", "7bit,ascii,utf8"));
11 var_dump(mb_detect_encoding("foobar.", "html"));
12 var_dump(mb_detect_encoding("foobar.", "ascii,html"));
H A Dmb_detect_encoding_empty_encoding_list.phpt2 Test mb_detect_encoding() function : empty encoding list
11 var_dump( mb_detect_encoding($string, ''));
16 var_dump( mb_detect_encoding($string, []));
23 mb_detect_encoding(): Argument #2 ($encodings) must specify at least one encoding
24 mb_detect_encoding(): Argument #2 ($encodings) must specify at least one encoding
H A Dbug49536.phpt2 Bug #49536 (mb_detect_encoding() returns incorrect results when strict_mode is turned on)
8 var_dump(mb_detect_encoding("A\x81", "SJIS", false));
10 var_dump(mb_detect_encoding("A\x81", "SJIS", true));
12 var_dump(mb_detect_encoding("\xc0\x00", "UTF-8", false));
14 var_dump(mb_detect_encoding("\xc0\x00", "UTF-8", true));
/dports/lang/php81/php-8.1.1/ext/mbstring/tests/
H A Dmb_detect_encoding.phpt2 mb_detect_encoding()
21 print("SJIS: " . mb_detect_encoding($sjis, 'SJIS') . "\n");
22 print("JIS: " . mb_detect_encoding($jis, 'JIS') . "\n");
31 print("JIS: " . mb_detect_encoding($jis, $a) . "\n");
33 print("SJIS: " . mb_detect_encoding($sjis, $a) . "\n");
44 echo mb_detect_encoding($test, $encodings), "\n";
48 echo mb_detect_encoding($test, ['UTF-8', 'SJIS']), "\n";
69 print("JIS: " . mb_detect_encoding($jis) . "\n");
71 print("EUC-JP: " . mb_detect_encoding($euc_jp) . "\n");
73 print("SJIS: " . mb_detect_encoding($sjis) . "\n");
[all …]
H A Dbug81298.phpt2 Bug #81298: mb_detect_encoding() segfaults when 7bit encoding is specified
8 var_dump(mb_detect_encoding("foobar.", "7bit"));
9 var_dump(mb_detect_encoding("foobar.", "7bit,ascii"));
10 var_dump(mb_detect_encoding("foobar.", "7bit,ascii,utf8"));
11 var_dump(mb_detect_encoding("foobar.", "html"));
12 var_dump(mb_detect_encoding("foobar.", "ascii,html"));
H A Dmb_detect_encoding_empty_encoding_list.phpt2 Test mb_detect_encoding() function : empty encoding list
11 var_dump( mb_detect_encoding($string, ''));
16 var_dump( mb_detect_encoding($string, []));
23 mb_detect_encoding(): Argument #2 ($encodings) must specify at least one encoding
24 mb_detect_encoding(): Argument #2 ($encodings) must specify at least one encoding
H A Dbug49536.phpt2 Bug #49536 (mb_detect_encoding() returns incorrect results when strict_mode is turned on)
8 var_dump(mb_detect_encoding("A\x81", "SJIS", false));
10 var_dump(mb_detect_encoding("A\x81", "SJIS", true));
12 var_dump(mb_detect_encoding("\xc0\x00", "UTF-8", false));
14 var_dump(mb_detect_encoding("\xc0\x00", "UTF-8", true));

12345678910>>...21