/PHP-8.1/ext/mbstring/tests/ |
H A D | bug48697.phpt | 2 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 D | mb_internal_encoding.phpt | 2 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 D | mb_internal_encoding_basic.phpt | 2 Test mb_internal_encoding() function : basic functionality 8 * Test basic functionality of mb_internal_encoding 11 echo "*** Testing mb_internal_encoding() : basic functionality ***\n"; 13 var_dump(mb_internal_encoding()); //default internal encoding 15 var_dump(mb_internal_encoding('UTF-8')); //change internal encoding to UTF-8 17 var_dump(mb_internal_encoding()); //check internal encoding is now set to UTF-8 23 *** Testing mb_internal_encoding() : basic functionality ***
|
H A D | mb_internal_encoding_error2.phpt | 2 Test mb_internal_encoding() function : error conditions - pass an unknown encoding 8 * Pass mb_internal_encoding an unknown encoding 11 echo "*** Testing mb_internal_encoding() : error conditions ***\n"; 14 var_dump(mb_internal_encoding('unknown-encoding')); 21 *** Testing mb_internal_encoding() : error conditions *** 22 mb_internal_encoding(): Argument #1 ($encoding) must be a valid encoding, "unknown-encoding" given
|
H A D | mb_internal_encoding_basic2.phpt | 2 Test mb_internal_encoding() function : basic functionality 13 * Test basic functionality of mb_internal_encoding 16 echo "*** Testing mb_internal_encoding() : basic functionality ***\n"; 26 var_dump(mb_internal_encoding()); //default internal encoding 27 var_dump(mb_internal_encoding('UTF-8')); //change internal encoding to UTF-8 28 var_dump(mb_internal_encoding()); //check internal encoding is now set to UTF-8 33 *** Testing mb_internal_encoding() : basic functionality ***
|
H A D | mb_strcut_missing_boundary_check.phpt | 7 mb_internal_encoding("UCS-4LE"); 9 mb_internal_encoding("UCS-4BE"); 11 mb_internal_encoding("UCS-2LE"); 13 mb_internal_encoding("UCS-2BE"); 15 mb_internal_encoding("UTF-16"); 17 mb_internal_encoding("UTF-8"); 19 mb_internal_encoding("ISO-8859-1");
|
H A D | internal_encoding.phpt | 10 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 D | gh9535b.phpt | 24 $converted_str = mb_convert_encoding($input, $encoding, mb_internal_encoding()); 26 $reconverted_str = mb_convert_encoding($cut_str, mb_internal_encoding(), $encoding); 35 $converted_str = mb_convert_encoding($input, $encoding, mb_internal_encoding()); 37 $reconverted_str = mb_convert_encoding($cut_str, mb_internal_encoding(), $encoding); 46 $converted_str = mb_convert_encoding($input, $encoding, mb_internal_encoding()); 48 $reconverted_str = mb_convert_encoding($cut_str, mb_internal_encoding(), $encoding); 57 $converted_str = mb_convert_encoding($input, $encoding, mb_internal_encoding()); 59 $reconverted_str = mb_convert_encoding($cut_str, mb_internal_encoding(), $encoding); 68 $converted_str = mb_convert_encoding($input, $encoding, mb_internal_encoding()); 70 $reconverted_str = mb_convert_encoding($cut_str, mb_internal_encoding(), $encoding);
|
H A D | gh9535.phpt | 29 $converted_str = mb_convert_encoding($input, $encoding, mb_internal_encoding()); 31 $reconverted_str = mb_convert_encoding($cut_str, mb_internal_encoding(), $encoding); 40 $converted_str = mb_convert_encoding($input, $encoding, mb_internal_encoding()); 42 $reconverted_str = mb_convert_encoding($cut_str, mb_internal_encoding(), $encoding); 51 $converted_str = mb_convert_encoding($input, $encoding, mb_internal_encoding()); 53 $reconverted_str = mb_convert_encoding($cut_str, mb_internal_encoding(), $encoding); 62 $converted_str = mb_convert_encoding($input, $encoding, mb_internal_encoding()); 64 $reconverted_str = mb_convert_encoding($cut_str, mb_internal_encoding(), $encoding); 73 $converted_str = mb_convert_encoding($input, $encoding, mb_internal_encoding()); 75 $reconverted_str = mb_convert_encoding($cut_str, mb_internal_encoding(), $encoding);
|
H A D | mb_strlen.phpt | 25 mb_internal_encoding('EUC-JP') or print("mb_internal_encoding() failed\n"); 31 mb_internal_encoding('SJIS') or print("mb_internal_encoding() failed\n"); 66 mb_internal_encoding('JIS') or print("mb_internal_encoding() failed\n"); 72 mb_internal_encoding('UTF-8') or print("mb_internal_encoding() failed\n"); 78 mb_internal_encoding('EUC-JP');
|
H A D | mb_internal_encoding_ini_basic2.phpt | 12 echo mb_internal_encoding()."\n"; 14 mb_internal_encoding('UTF-8'); 15 echo mb_internal_encoding()."\n";
|
H A D | mb_internal_encoding_ini_invalid_encoding.phpt | 12 echo mb_internal_encoding()."\n"; 14 mb_internal_encoding('UTF-8'); 15 echo mb_internal_encoding()."\n";
|
H A D | mb_strpos.phpt | 20 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 D | bug69086.phpt | 9 mb_internal_encoding("UCS-4BE"); 12 mb_internal_encoding("UTF-8");
|
H A D | mb_stripos.phpt | 20 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 D | bug69079.phpt | 8 mb_internal_encoding('UTF-8'); 19 mb_internal_encoding('EUC-JP-2004');
|
H A D | mb_send_mail06.phpt | 13 if (!@mb_internal_encoding('BIG5')) { 29 mb_internal_encoding('BIG5');
|
H A D | mb_send_mail07.phpt | 13 if (!@mb_internal_encoding('ISO-2022-KR')) { 29 mb_internal_encoding('EUC-KR');
|
H A D | mb_internal_encoding_variation2.phpt | 2 Test mb_internal_encoding() function : usage variations - Test different encodings 13 echo "*** Testing mb_internal_encoding() : usage variations ***\n"; 71 var_dump(mb_internal_encoding()); 72 var_dump(mb_internal_encoding($enc)); 73 var_dump(mb_internal_encoding()); 79 *** Testing mb_internal_encoding() : usage variations ***
|
H A D | mb_send_mail05.phpt | 13 if (!@mb_internal_encoding('GB2312')) { 29 mb_internal_encoding('GB2312');
|
H A D | ini_language.phpt | 11 var_dump(mb_internal_encoding());
|
/PHP-8.1/ext/standard/tests/strings/ |
H A D | htmlentities06.phpt | 10 mb_internal_encoding('ISO-8859-15'); 11 print mb_internal_encoding()."\n";
|
H A D | htmlentities07.phpt | 10 mb_internal_encoding('ISO-8859-1'); 11 print mb_internal_encoding()."\n";
|
H A D | htmlentities09.phpt | 10 mb_internal_encoding('Shift_JIS'); 11 print mb_internal_encoding()."\n";
|
H A D | htmlentities08.phpt | 10 mb_internal_encoding('EUC-JP'); 11 print mb_internal_encoding()."\n";
|