Searched refs:mb_regex_encoding (Results 1 – 25 of 28) sorted by relevance
12
2 Test mb_regex_encoding() function : basic functionality7 function_exists('mb_regex_encoding') or die("skip mb_regex_encoding() is not available in this buil…12 * Test Basic functionality of mb_regex_encoding15 echo "*** Testing mb_regex_encoding() : basic functionality ***\n";17 var_dump(mb_regex_encoding());19 var_dump(mb_regex_encoding('UTF-8'));21 var_dump(mb_regex_encoding());27 *** Testing mb_regex_encoding() : basic functionality ***
2 Test mb_regex_encoding() function : error conditions - Pass an unknown encoding7 function_exists('mb_regex_encoding') or die("skip mb_regex_encoding() is not available in this buil…12 * Pass mb_regex_encoding an unknown type of encoding15 echo "*** Testing mb_regex_encoding() : error conditions ***\n";18 var_dump(mb_regex_encoding('unknown'));25 *** Testing mb_regex_encoding() : error conditions ***26 mb_regex_encoding(): Argument #1 ($encoding) must be a valid encoding, "unknown" given
2 Test mb_regex_encoding() function : usage variations - test different encodings7 function_exists('mb_regex_encoding') or die("skip mb_regex_encoding() is not available in this buil…17 echo "*** Testing mb_regex_encoding() : usage variations ***\n";79 var_dump(mb_regex_encoding());81 var_dump(mb_regex_encoding($enc));85 var_dump(mb_regex_encoding());91 *** Testing mb_regex_encoding() : usage variations ***110 mb_regex_encoding(): Argument #1 ($encoding) must be a valid encoding, "UCS-2" given200 mb_regex_encoding(): Argument #1 ($encoding) must be a valid encoding, "JIS" given320 mb_regex_encoding(): Argument #1 ($encoding) must be a valid encoding, "HZ" given[all …]
7 if (!function_exists("mb_regex_encoding")) die("skip mb_regex_encoding() is not defined");11 mb_regex_encoding('iso-8859-1');
11 mb_regex_encoding('UTF-8');
11 mb_regex_encoding("UTF-32");
12 mb_regex_encoding('utf-8');
11 mb_regex_encoding("UTF-8");
12 mb_regex_encoding("UTF-8");
15 mb_regex_encoding("UTF-8");
18 mb_regex_encoding( $test_enc );
33 mb_regex_encoding('ISO-8859-1');
12 mb_regex_encoding( 'EUC-JP' );
18 mb_regex_encoding('UTF-8');
16 mb_regex_encoding('UTF-8');
17 mb_regex_encoding('utf-8');
20 if(mb_regex_encoding('utf-8') == true) {
17 if(mb_regex_encoding('utf-8') == true) {
19 mb_regex_encoding('utf-8'); // have to set otherwise won't match $mb properly
Completed in 37 milliseconds