Searched refs:mb_regex_encoding (Results 1 – 25 of 28) sorted by relevance
12
2 Test mb_regex_encoding() function : basic functionality6 function_exists('mb_regex_encoding') or die("skip mb_regex_encoding() is not available in this buil…10 /* Prototype : proto string mb_regex_encoding([string encoding])16 * Test Basic functionality of mb_regex_encoding19 echo "*** Testing mb_regex_encoding() : basic functionality ***\n";21 var_dump(mb_regex_encoding());23 var_dump(mb_regex_encoding('UTF-8'));25 var_dump(mb_regex_encoding());31 *** Testing mb_regex_encoding() : basic functionality ***
2 Test mb_regex_encoding() function : error conditions - Pass an unknown encoding6 function_exists('mb_regex_encoding') or die("skip mb_regex_encoding() is not available in this buil…10 /* Prototype : string mb_regex_encoding([string $encoding])16 * Pass mb_regex_encoding an unknown type of encoding19 echo "*** Testing mb_regex_encoding() : error conditions ***\n";21 var_dump(mb_regex_encoding('unknown'));27 *** Testing mb_regex_encoding() : error conditions ***29 Warning: mb_regex_encoding(): Unknown encoding "unknown" in %s on line %d
2 Test mb_regex_encoding() function : usage variations - test different encodings6 function_exists('mb_regex_encoding') or die("skip mb_regex_encoding() is not available in this buil…10 /* Prototype : string mb_regex_encoding([string $encoding])21 echo "*** Testing mb_regex_encoding() : usage variations ***\n";83 var_dump(mb_regex_encoding());84 var_dump(mb_regex_encoding($enc));85 var_dump(mb_regex_encoding());91 *** Testing mb_regex_encoding() : usage variations ***113 Warning: mb_regex_encoding(): Unknown encoding "UCS-2" in %s on line %d215 Warning: mb_regex_encoding(): Unknown encoding "JIS" in %s on line %d[all …]
6 if (!function_exists("mb_regex_encoding")) die("skip mb_regex_encoding() is not defined");10 mb_regex_encoding('iso-8859-1');
10 mb_regex_encoding('UTF-8');
10 mb_regex_encoding("UTF-32");
11 mb_regex_encoding('utf-8');
10 mb_regex_encoding("UTF-8");
11 mb_regex_encoding("UTF-8");
14 mb_regex_encoding("UTF-8");
21 mb_regex_encoding('Shift_JIS');
32 mb_regex_encoding('ISO-8859-1');
17 mb_regex_encoding( $test_enc );
13 mb_regex_encoding( 'EUC-JP' );
20 mb_regex_encoding('UTF-8');
23 mb_regex_encoding('UTF-8');
21 mb_regex_encoding('utf-8');
24 if(mb_regex_encoding('utf-8') == true) {
23 mb_regex_encoding('utf-8'); // have to set otherwise won't match $mb properly
29 PHP_FE(mb_regex_encoding, arginfo_mb_regex_encoding) \45 PHP_DEP_FALIAS(mbregex_encoding, mb_regex_encoding, arginfo_mb_regex_encoding) \78 PHP_FUNCTION(mb_regex_encoding);
Completed in 34 milliseconds