Home
last modified time | relevance | path

Searched refs:mb_internal_encoding (Results 1 – 25 of 93) sorted by relevance

1234

/PHP-8.0/ext/mbstring/tests/
H A Dmb_internal_encoding_basic.phpt2 Test mb_internal_encoding() function : basic functionality
6 function_exists('mb_internal_encoding') or die("skip mb_internal_encoding() is not available in thi…
11 * Test basic functionality of mb_internal_encoding
14 echo "*** Testing mb_internal_encoding() : basic functionality ***\n";
16 var_dump(mb_internal_encoding()); //default internal encoding
18 var_dump(mb_internal_encoding('UTF-8')); //change internal encoding to UTF-8
20 var_dump(mb_internal_encoding()); //check internal encoding is now set to UTF-8
26 *** Testing mb_internal_encoding() : basic functionality ***
H A Dmb_internal_encoding_error2.phpt2 Test mb_internal_encoding() function : error conditions - pass an unknown encoding
6 function_exists('mb_internal_encoding') or die("skip mb_internal_encoding() is not available in thi…
11 * Pass mb_internal_encoding an unknown encoding
14 echo "*** Testing mb_internal_encoding() : error conditions ***\n";
17 var_dump(mb_internal_encoding('unknown-encoding'));
24 *** Testing mb_internal_encoding() : error conditions ***
25 mb_internal_encoding(): Argument #1 ($encoding) must be a valid encoding, "unknown-encoding" given
H A Dbug48697.phpt2 Bug #48697 (mb_internal_encoding() value gets reset by parse_str() or mb_parse_str()
9 var_dump(mb_internal_encoding());
10 mb_internal_encoding('UTF-8');
11 var_dump(mb_internal_encoding());
13 var_dump(mb_internal_encoding());
14 mb_internal_encoding('UTF-8');
15 var_dump(mb_internal_encoding());
17 var_dump(mb_internal_encoding());
H A Dmb_internal_encoding.phpt2 mb_internal_encoding()
12 $r = mb_internal_encoding('EUC-JP');
14 $enc = mb_internal_encoding();
18 $r = mb_internal_encoding('UTF-8');
20 $enc = mb_internal_encoding();
24 $r = mb_internal_encoding('ASCII');
26 $enc = mb_internal_encoding();
34 $r = mb_internal_encoding('BAD_NAME');
40 $enc = mb_internal_encoding();
52 mb_internal_encoding(): Argument #1 ($encoding) must be a valid encoding, "BAD_NAME" given
H A Dmb_internal_encoding_basic2.phpt2 Test mb_internal_encoding() function : basic functionality
11 function_exists('mb_internal_encoding') or die("skip mb_internal_encoding() is not available in thi…
16 * Test basic functionality of mb_internal_encoding
19 echo "*** Testing mb_internal_encoding() : basic functionality ***\n";
29 var_dump(mb_internal_encoding()); //default internal encoding
30 var_dump(mb_internal_encoding('UTF-8')); //change internal encoding to UTF-8
31 var_dump(mb_internal_encoding()); //check internal encoding is now set to UTF-8
36 *** Testing mb_internal_encoding() : basic functionality ***
H A Dmb_strcut_missing_boundary_check.phpt10 mb_internal_encoding("UCS-4LE");
12 mb_internal_encoding("UCS-4BE");
14 mb_internal_encoding("UCS-2LE");
16 mb_internal_encoding("UCS-2BE");
18 mb_internal_encoding("UTF-16");
20 mb_internal_encoding("UTF-8");
22 mb_internal_encoding("ISO-8859-1");
H A Dinternal_encoding.phpt10 var_dump(mb_internal_encoding());
15 var_dump(mb_internal_encoding());
21 var_dump(mb_internal_encoding());
27 var_dump(mb_internal_encoding());
30 mb_internal_encoding('utf-8');
32 var_dump(mb_internal_encoding());
35 // mb_internal_encoding() is set, this has no effect
38 var_dump(mb_internal_encoding());
44 var_dump(mb_internal_encoding());
H A Dmb_strlen.phpt27 mb_internal_encoding('EUC-JP') or print("mb_internal_encoding() failed\n");
34 mb_internal_encoding('SJIS') or print("mb_internal_encoding() failed\n");
42 mb_internal_encoding('JIS') or print("mb_internal_encoding() failed\n");
50 mb_internal_encoding('UTF-8') or print("mb_internal_encoding() failed\n");
57 mb_internal_encoding('EUC-JP');
H A Dmb_internal_encoding_ini_basic2.phpt15 echo mb_internal_encoding()."\n";
17 mb_internal_encoding('UTF-8');
18 echo mb_internal_encoding()."\n";
H A Dmb_internal_encoding_ini_invalid_encoding.phpt15 echo mb_internal_encoding()."\n";
17 mb_internal_encoding('UTF-8');
18 echo mb_internal_encoding()."\n";
H A Dmb_strpos.phpt20 mb_internal_encoding('UTF-8') or print("mb_internal_encoding() failed\n");
56 mb_internal_encoding('EUC-JP') or print("mb_internal_encoding() failed\n");
71 mb_internal_encoding('EUC-JP') or print("mb_internal_encoding() failed\n");
H A Dbug69086.phpt9 mb_internal_encoding("UCS-4BE");
12 mb_internal_encoding("UTF-8");
H A Dmb_stripos.phpt20 mb_internal_encoding('UTF-8') or print("mb_internal_encoding() failed\n");
77 mb_internal_encoding('EUC-JP') or print("mb_internal_encoding() failed\n");
92 mb_internal_encoding('EUC-JP') or print("mb_internal_encoding() failed\n");
H A Dmb_internal_encoding_variation2.phpt2 Test mb_internal_encoding() function : usage variations - Test different encodings
6 function_exists('mb_internal_encoding') or die("skip mb_internal_encoding() is not available in thi…
16 echo "*** Testing mb_internal_encoding() : usage variations ***\n";
78 var_dump(mb_internal_encoding());
79 var_dump(mb_internal_encoding($enc));
80 var_dump(mb_internal_encoding());
86 *** Testing mb_internal_encoding() : usage variations ***
H A Dbug69079.phpt8 mb_internal_encoding('UTF-8');
19 mb_internal_encoding('EUC-JP-2004');
H A Dmb_send_mail06.phpt11 if (!@mb_internal_encoding('BIG5')) {
27 mb_internal_encoding('BIG5');
H A Dmb_send_mail07.phpt11 if (!@mb_internal_encoding('ISO-2022-KR')) {
27 mb_internal_encoding('EUC-KR');
H A Dmb_send_mail05.phpt11 if (!@mb_internal_encoding('GB2312')) {
27 mb_internal_encoding('GB2312');
H A Dini_language.phpt11 var_dump(mb_internal_encoding());
H A Dbug45239.phpt13 mb_internal_encoding("utf-8");
H A Dphp_gr_jp_16242.phpt15 var_dump(mb_internal_encoding());
/PHP-8.0/ext/standard/tests/strings/
H A Dhtmlentities07.phpt11 mb_internal_encoding('ISO-8859-1');
12 print mb_internal_encoding()."\n";
H A Dhtmlentities06.phpt11 mb_internal_encoding('ISO-8859-15');
12 print mb_internal_encoding()."\n";
H A Dhtmlentities08.phpt11 mb_internal_encoding('EUC-JP');
12 print mb_internal_encoding()."\n";
H A Dhtmlentities09.phpt11 mb_internal_encoding('Shift_JIS');
12 print mb_internal_encoding()."\n";

Completed in 15 milliseconds

1234