Searched refs:mb_regex_encoding (Results 1 – 25 of 29) 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 ***
6 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])20 echo "*** Testing mb_regex_encoding() : usage variations ***\n";93 var_dump( mb_regex_encoding($input) );102 *** Testing mb_regex_encoding() : usage variations ***106 Warning: mb_regex_encoding(): Unknown encoding "0" in %s on line %d111 Warning: mb_regex_encoding(): Unknown encoding "1" in %s on line %d151 Warning: mb_regex_encoding(): Unknown encoding "" in %s on line %d156 Warning: mb_regex_encoding(): Unknown encoding "" in %s on line %d166 Warning: mb_regex_encoding(): Unknown encoding "" in %s on line %d[all …]
2 Test mb_regex_encoding() function : error conditions - pass incorrect number of args6 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 * Test mb_regex_encoding with one more than expected number of arguments19 echo "*** Testing mb_regex_encoding() : error conditions ***\n";22 echo "\n-- Testing mb_regex_encoding() function with more than expected no. of arguments --\n";25 var_dump( mb_regex_encoding($encoding, $extra_arg) );30 *** Testing mb_regex_encoding() : error conditions ***32 -- Testing mb_regex_encoding() function with more than expected no. of arguments --34 Warning: mb_regex_encoding() expects at most 1 parameter, 2 given in %s on line %d
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 …]
10 mb_regex_encoding("UTF-32");
11 mb_regex_encoding('utf-8');
10 mb_regex_encoding('iso-8859-1');
14 mb_regex_encoding("UTF-8");
24 mb_regex_encoding('Shift_JIS');
17 mb_regex_encoding( $test_enc );
32 mb_regex_encoding('ISO-8859-1');
14 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) {
22 mb_regex_encoding('utf-8'); // have to set otherwise won't match $mb properly
31 PHP_FE(mb_regex_encoding, arginfo_mb_regex_encoding) \47 PHP_FALIAS(mbregex_encoding, mb_regex_encoding, arginfo_mb_regex_encoding) \80 PHP_FUNCTION(mb_regex_encoding);
89 // loop through each element of $inputs to check the behavior of mb_regex_encoding()
Completed in 22 milliseconds