Searched refs:mb_internal_encoding (Results 1 – 25 of 83) sorted by relevance
1234
6 function_exists('mb_internal_encoding') or die("skip mb_internal_encoding() is not available in thi…10 /* Prototype : string mb_internal_encoding([string $encoding])21 echo "*** Testing mb_internal_encoding() : usage variations ***\n";95 var_dump( mb_internal_encoding($input) );103 *** Testing mb_internal_encoding() : usage variations ***107 Warning: mb_internal_encoding(): Unknown encoding "0" in %s on line %d112 Warning: mb_internal_encoding(): Unknown encoding "1" in %s on line %d152 Warning: mb_internal_encoding(): Unknown encoding "" in %s on line %d157 Warning: mb_internal_encoding(): Unknown encoding "" in %s on line %d167 Warning: mb_internal_encoding(): Unknown encoding "" in %s on line %d[all …]
2 mb_internal_encoding()13 $r = mb_internal_encoding('EUC-JP');15 $enc = mb_internal_encoding();19 $r = mb_internal_encoding('UTF-8');21 $enc = mb_internal_encoding();25 $r = mb_internal_encoding('ASCII');27 $enc = mb_internal_encoding();34 $r = mb_internal_encoding('BAD');36 $enc = mb_internal_encoding();41 $enc = mb_internal_encoding();[all …]
2 Test mb_internal_encoding() function : basic functionality6 function_exists('mb_internal_encoding') or die("skip mb_internal_encoding() is not available in thi…10 /* Prototype : string mb_internal_encoding([string $encoding])17 * Test basic functionality of mb_internal_encoding20 echo "*** Testing mb_internal_encoding() : basic functionality ***\n";22 var_dump(mb_internal_encoding()); //default internal encoding24 var_dump(mb_internal_encoding('UTF-8')); //change internal encoding to UTF-826 var_dump(mb_internal_encoding()); //check internal encoding is now set to UTF-832 *** Testing mb_internal_encoding() : basic functionality ***
2 Test mb_internal_encoding() function : error conditions - pass incorrect number of args6 function_exists('mb_internal_encoding') or die("skip mb_internal_encoding() is not available in thi…10 /* Prototype : string mb_internal_encoding([string $encoding])17 * Test mb_internal_encoding with one more than the expected number of arguments20 echo "*** Testing mb_internal_encoding() : error conditions ***\n";22 echo "\n-- Testing mb_internal_encoding() function with more than expected no. of arguments --\n";25 var_dump( mb_internal_encoding($encoding, $extra_arg) );30 *** Testing mb_internal_encoding() : error conditions ***32 -- Testing mb_internal_encoding() function with more than expected no. of arguments --34 Warning: mb_internal_encoding() expects at most 1 parameter, 2 given in %s on line %d
2 Bug #48697 (mb_internal_encoding() value gets reset by parse_str() or mb_parse_str()11 var_dump(mb_internal_encoding());12 mb_internal_encoding('UTF-8');13 var_dump(mb_internal_encoding());15 var_dump(mb_internal_encoding());16 mb_internal_encoding('UTF-8');17 var_dump(mb_internal_encoding());19 var_dump(mb_internal_encoding());
2 Test mb_internal_encoding() function : error conditions - pass an unknown encoding6 function_exists('mb_internal_encoding') or die("skip mb_internal_encoding() is not available in thi…10 /* Prototype : string mb_internal_encoding([string $encoding])17 * Pass mb_internal_encoding an unknown encoding20 echo "*** Testing mb_internal_encoding() : error conditions ***\n";22 var_dump(mb_internal_encoding('unknown-encoding'));27 *** Testing mb_internal_encoding() : error conditions ***29 Warning: mb_internal_encoding(): Unknown encoding "unknown-encoding" in %s on line %d
2 Test mb_internal_encoding() function : basic functionality11 function_exists('mb_internal_encoding') or die("skip mb_internal_encoding() is not available in thi…15 /* Prototype : string mb_internal_encoding([string $encoding])22 * Test basic functionality of mb_internal_encoding25 echo "*** Testing mb_internal_encoding() : basic functionality ***\n";35 var_dump(mb_internal_encoding()); //default internal encoding36 var_dump(mb_internal_encoding('UTF-8')); //change internal encoding to UTF-837 var_dump(mb_internal_encoding()); //check internal encoding is now set to UTF-842 *** Testing mb_internal_encoding() : basic functionality ***
10 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");
30 mb_internal_encoding('EUC-JP') or print("mb_internal_encoding() failed\n");37 mb_internal_encoding('SJIS') or print("mb_internal_encoding() failed\n");45 mb_internal_encoding('JIS') or print("mb_internal_encoding() failed\n");53 mb_internal_encoding('UTF-8') or print("mb_internal_encoding() failed\n");68 mb_internal_encoding('EUC-JP');
15 echo mb_internal_encoding()."\n";17 mb_internal_encoding('UTF-8');18 echo mb_internal_encoding()."\n";
9 mb_internal_encoding("UCS-4BE");12 mb_internal_encoding("UTF-8");
2 Test mb_internal_encoding() function : usage variations - Test different encodings6 function_exists('mb_internal_encoding') or die("skip mb_internal_encoding() is not available in thi…10 /* Prototype : string mb_internal_encoding([string $encoding])22 echo "*** Testing mb_internal_encoding() : usage variations ***\n";84 var_dump(mb_internal_encoding());85 var_dump(mb_internal_encoding($enc));86 var_dump(mb_internal_encoding());92 *** Testing mb_internal_encoding() : usage variations ***
19 echo mb_internal_encoding()."\n";27 …$replaced = mb_convert_encoding(str_replace($c, '!!', $converted_str), mb_internal_encoding(), 'Sh…
8 mb_internal_encoding('UTF-8');15 mb_internal_encoding('EUC-JP-2004');
11 if (!@mb_internal_encoding('BIG5')) {27 mb_internal_encoding('BIG5');
11 if (!@mb_internal_encoding('ISO-2022-KR')) {27 mb_internal_encoding('EUC-KR');
11 if (!@mb_internal_encoding('GB2312')) {27 mb_internal_encoding('GB2312');
21 mb_internal_encoding('UTF-8') or print("mb_internal_encoding() failed\n");102 mb_internal_encoding('EUC-JP') or print("mb_internal_encoding() failed\n");117 mb_internal_encoding('EUC-JP') or print("mb_internal_encoding() failed\n");
11 var_dump(mb_internal_encoding());
23 var_dump(mb_internal_encoding());43 var_dump(mb_internal_encoding());
11 mb_internal_encoding('ISO-8859-15');12 print mb_internal_encoding()."\n";
11 mb_internal_encoding('ISO-8859-1');12 print mb_internal_encoding()."\n";
12 mb_internal_encoding('Shift_JIS');13 print mb_internal_encoding()."\n";
12 mb_internal_encoding('EUC-JP');13 print mb_internal_encoding()."\n";
Completed in 24 milliseconds