Home
last modified time | relevance | path

Searched refs:iconv_set_encoding (Results 1 – 11 of 11) sorted by relevance

/PHP-7.2/ext/iconv/tests/
H A Diconv_set_encoding-charset-length-cve-2007-4840.phpt2 iconv_set_encoding() charset parameter length checks (CVE-2007-4840)
8 var_dump(iconv_set_encoding("input_encoding", $a));
9 var_dump(iconv_set_encoding("output_encoding", $a));
10 var_dump(iconv_set_encoding("internal_encoding", $a));
13 Warning: iconv_set_encoding(): Charset parameter exceeds the maximum allowed length of %d character…
16 Warning: iconv_set_encoding(): Charset parameter exceeds the maximum allowed length of %d character…
19 Warning: iconv_set_encoding(): Charset parameter exceeds the maximum allowed length of %d character…
H A Diconv_get_encoding_basic.phpt13 iconv_set_encoding("internal_encoding", "UTF-8");
14 iconv_set_encoding("output_encoding", "UTF-8");
15 iconv_set_encoding("input_encoding", "UTF-8");
26 iconv_set_encoding("internal_encoding", "ISO-8859-1");
27 iconv_set_encoding("output_encoding", "ISO-8859-1");
28 iconv_set_encoding("input_encoding", "ISO-8859-1");
H A Diconv_encoding_basic.phpt2 Test iconv_get_encoding()/iconv_set_encoding() function : basic functionality
17 * Prototype : bool iconv_set_encoding(string type, string charset)
23 * Test Basic functionality of iconv_get_encoding/iconv_set_encoding
26 echo "*** Testing iconv_get_encoding()/iconv_set_encoding() : basic functionality ***\n";
36 var_dump(iconv_set_encoding("input_encoding", "UTF-8"));
37 var_dump(iconv_set_encoding("output_encoding", "UTF-8"));
38 var_dump(iconv_set_encoding("internal_encoding", "UTF-8"));
52 *** Testing iconv_get_encoding()/iconv_set_encoding() : basic functionality ***
H A Diconv_set_encoding_error.phpt2 Test iconv_set_encoding() function : basic functionality
6 function_exists('iconv_set_encoding') or die("skip iconv_set_encoding() is not available in this bu…
10 /* Prototype : bool iconv_set_encoding(string type, string charset)
19 echo "*** Testing iconv_set_encoding() : error functionality ***\n";
93 var_dump( iconv_set_encoding($input, "UTF-8") );
102 *** Testing iconv_set_encoding() : error functionality ***
175 Warning: iconv_set_encoding() expects parameter 1 to be string, resource given in %s on line %d
H A Diconv_set_encoding_variation.phpt2 Test iconv_set_encoding() function : error functionality
6 function_exists('iconv_set_encoding') or die("skip iconv_set_encoding() is not available in this bu…
12 /* Prototype : bool iconv_set_encoding(string type, string charset)
21 echo "*** Testing iconv_set_encoding() : error functionality ***\n";
95 var_dump( iconv_set_encoding("internal_encoding", $input) );
96 var_dump( iconv_set_encoding("input_encoding", $input) );
97 var_dump( iconv_set_encoding("output_encoding", $input) );
110 *** Testing iconv_set_encoding() : error functionality ***
298 Warning: iconv_set_encoding() expects parameter 2 to be string, resource given in %s on line %d
301 Warning: iconv_set_encoding() expects parameter 2 to be string, resource given in %s on line %d
[all …]
H A Dob_iconv_handler.phpt10 iconv_set_encoding('internal_encoding', 'EUC-JP');
11 iconv_set_encoding('output_encoding', 'Shift_JIS');
H A Diconv_strrpos_basic.phpt23 iconv_set_encoding("internal_encoding", "UTF-8");
H A Diconv_strpos_basic.phpt23 iconv_set_encoding("internal_encoding", "UTF-8");
H A Diconv_strpos_variation5.phpt23 iconv_set_encoding("internal_encoding", "UTF-8");
/PHP-7.2/ext/iconv/
H A Dphp_iconv.h63 PHP_FUNCTION(iconv_set_encoding);
H A Diconv.c131 PHP_FE(iconv_set_encoding, arginfo_iconv_set_encoding)
2507 PHP_FUNCTION(iconv_set_encoding) in PHP_FUNCTION() argument

Completed in 19 milliseconds