Home
last modified time | relevance | path

Searched refs:mb_regex_encoding (Results 1 – 25 of 29) sorted by relevance

12

/PHP-7.2/ext/mbstring/tests/
H A Dmb_regex_encoding_basic.phpt2 Test mb_regex_encoding() function : basic functionality
6 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_encoding
19 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 ***
H A Dmb_regex_encoding_variation1.phpt6 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 %d
111 Warning: mb_regex_encoding(): Unknown encoding "1" in %s on line %d
151 Warning: mb_regex_encoding(): Unknown encoding "" in %s on line %d
156 Warning: mb_regex_encoding(): Unknown encoding "" in %s on line %d
166 Warning: mb_regex_encoding(): Unknown encoding "" in %s on line %d
[all …]
H A Dmb_regex_encoding_error1.phpt2 Test mb_regex_encoding() function : error conditions - pass incorrect number of args
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])
16 * Test mb_regex_encoding with one more than expected number of arguments
19 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
H A Dmb_regex_encoding_error2.phpt2 Test mb_regex_encoding() function : error conditions - Pass an unknown encoding
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])
16 * Pass mb_regex_encoding an unknown type of encoding
19 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
H A Dmb_regex_encoding_variation2.phpt2 Test mb_regex_encoding() function : usage variations - test different encodings
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])
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 %d
215 Warning: mb_regex_encoding(): Unknown encoding "JIS" in %s on line %d
[all …]
H A Dbug77418.phpt10 mb_regex_encoding("UTF-32");
H A Dmb_eregi.phpt11 mb_regex_encoding('utf-8');
H A Dmb_eregi_invalid_arguments.phpt11 mb_regex_encoding('utf-8');
H A Dmb_ereg_search_pos.phpt10 mb_regex_encoding('iso-8859-1');
H A Dmb_ereg_search.phpt14 mb_regex_encoding("UTF-8");
H A Doverload02.phpt24 mb_regex_encoding('Shift_JIS');
H A Dmb_ereg.phpt17 mb_regex_encoding( $test_enc );
H A Dmb_eregi_replace.phpt32 mb_regex_encoding('ISO-8859-1');
H A Dmb_split.phpt14 mb_regex_encoding( 'EUC-JP' );
H A Dmb_ereg_search_setpos.phpt10 mb_regex_encoding('iso-8859-1');
H A Dmb_ereg_match_basic.phpt20 mb_regex_encoding('UTF-8');
H A Dmb_ereg_replace_basic.phpt23 mb_regex_encoding('UTF-8');
H A Dmb_ereg_search_xxx.phpt17 mb_regex_encoding( $test_enc );
H A Dmb_ereg_variation5.phpt21 mb_regex_encoding('utf-8');
H A Dmb_ereg_variation7.phpt24 if(mb_regex_encoding('utf-8') == true) {
H A Dmb_ereg_variation4.phpt21 mb_regex_encoding('utf-8');
H A Dmb_ereg_variation3.phpt22 mb_regex_encoding('utf-8'); // have to set otherwise won't match $mb properly
/PHP-7.2/ext/mbstring/
H A Dphp_mbregex.h31 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);
/PHP-7.2/ext/iconv/tests/
H A Diconv_set_encoding_error.phpt89 // loop through each element of $inputs to check the behavior of mb_regex_encoding()
H A Diconv_get_encoding_error.phpt89 // loop through each element of $inputs to check the behavior of mb_regex_encoding()

Completed in 22 milliseconds

12