Home
last modified time | relevance | path

Searched refs:charset (Results 1 – 25 of 270) sorted by relevance

1234567891011

/PHP-8.2/ext/mysqli/tests/
H A Dmysqli_get_charset.phpt59 printf("[015] Expecting object/std_class, got %s/%s\n", gettype($charset), $charset);
61 if (!isset($charset->charset) ||
62 !in_array(gettype($charset->charset), array("string", "unicode")) ||
63 ($character_set_connection !== $charset->charset))
64 …string/%s, got %s/%s\n", $character_set_connection, gettype($charset->charset), $charset->charset);
70 if (!isset($charset->dir) ||
71 !is_string($charset->dir))
77 ($charset->min_length > $charset->max_length))
79 gettype($charset->min_length), $charset->min_length);
86 if (!isset($charset->state) ||
[all …]
H A Dmysqli_character_set_name.phpt29 …if (!$res = mysqli_query($link, 'SELECT @@character_set_connection AS charset, @@collation_connect…
33 if (!$tmp['charset'])
36 $charset = mysqli_character_set_name($link);
37 if ($tmp['charset'] !== $charset) {
38 if ($tmp['collation'] === $charset) {
40 $tmp['collation'], $tmp['charset'], gettype($charset), $charset);
42 …haracter set %s/%s, got %s/%s\n", gettype($tmp['charset']), $tmp['charset'], gettype($charset), $c…
47 if ($charset2 !== $charset) {
48 …me returned %s/%s, expected %s/%s\n", gettype($charset2), $charset2, gettype($charset), $charset);
H A Dmysqli_character_set_name_oo.phpt32 …if (!$res = $mysqli->query('SELECT @@character_set_connection AS charset, @@collation_connection A…
36 if (!$tmp['charset'])
39 $charset = $mysqli->character_set_name();
40 if ($tmp['charset'] !== $charset) {
41 if ($tmp['collation'] === $charset) {
43 $tmp['collation'], $tmp['charset'], gettype($charset), $charset);
45 …haracter set %s/%s, got %s/%s\n", gettype($tmp['charset']), $tmp['charset'], gettype($charset), $c…
50 if ($charset2 !== $charset) {
52 gettype($charset2), $charset2, gettype($charset), $charset);
H A Dmysqli_change_user_set_names.phpt56 foreach ($charsets as $charset => $collation) {
59 $charset != $not_changed['charset_client'] &&
64 $charset != $not_changed['charset_connection'] &&
69 $charset != $not_changed['charset_results'] &&
140 if (!is_object($charset = mysqli_get_charset($link)))
141 printf("[013] Expecting object/std_class, got %s/%s\n", gettype($charset), $charset);
143 if ($charset->charset != $defaults['charset_connection'])
144 printf("[014] Expecting connection charset to be %s got %s\n",
146 $charset->charset);
148 if ($charset->collation != $defaults['collation_connection'])
[all …]
H A Dmysqli_character_set.phpt43 foreach ($charsets as $charset) {
44 $k = $charset['Charset'];
49charset['Charset'] == 'ucs2' || $charset['Charset'] == 'utf16' || $charset['Charset'] == 'utf32' |…
56 …$sql = sprintf("CREATE TABLE test(id INT, label CHAR(1)) CHARACTER SET '%s' ", $charset['Charset']…
62 if (!mysqli_set_charset($link, $charset['Charset'])) {
71 var_dump($charset['Charset']);
H A Dmysqli_options.phpt58 foreach ($charsets as $charset) {
62 …if ($charset['Charset'] == 'ucs2' || $charset['Charset'] == 'utf16' || $charset['Charset'] == 'utf…
65 if (true !== mysqli_options($link, MYSQLI_SET_CHARSET_NAME, $charset['Charset'])) {
66 printf("[009] Setting charset name '%s' has failed\n", $charset['Charset']);
/PHP-8.2/ext/iconv/tests/
H A Diconv_mime_encode_001.phpt2 … Encoding parameter exceeds the maximum allowed for preference "input-charset" and "output-charset"
12 "input-charset" => "ISO-8859-1".$extra,
13 "output-charset" => "UTF-8",
22 $preferences["input-charset"] = "ISO-8859-1";
23 $preferences["output-charset"] = "UTF-8".$extra;
H A Diconv_strlen.phpt7 function foo($str, $charset) {
9 var_dump(iconv_strlen($str, $charset));
H A Dbug53891.phpt9 'input-charset' => 'utf-8',
10 'output-charset' => 'utf-8',
H A Dbug66828.phpt8 "input-charset" => "ISO-8859-1",
9 "output-charset" => "UTF-8",
/PHP-8.2/ext/pdo_mysql/tests/
H A Dpdo_mysql_connect_charset.phpt2 PDO_MYSQL: Defining a connection charset in the DSN
14 /* Connect to mysql to determine the current charset so we can diffinate it */
16 … $charset = $link->query("SHOW VARIABLES LIKE 'character_set_connection'")->fetchObject()->value;
19 $new_charset = ($charset == 'latin1' ? 'ascii' : 'latin1');
24 $link = MySQLPDOTest::factory('PDO', false, null, Array('charset' => $new_charset));
27 if ($charset !== $conn_charset) {
/PHP-8.2/ext/fileinfo/tests/
H A Dfinfo_buffer_basic-mb.phpt42 string(28) "text/plain; charset=us-ascii"
43 string(26) "text/plain; charset=ebcdic"
44 string(40) "application/octet-stream; charset=binary"
45 string(28) "text/plain; charset=us-ascii"
46 string(28) "image/x-miff; charset=binary"
47 string(25) "text/plain; charset=utf-8"
H A Dfinfo_buffer_basic.phpt42 string(28) "text/plain; charset=us-ascii"
43 string(26) "text/plain; charset=ebcdic"
44 string(40) "application/octet-stream; charset=binary"
45 string(28) "text/plain; charset=us-ascii"
46 string(28) "image/x-miff; charset=binary"
47 string(25) "text/plain; charset=utf-8"
H A Dfinfo_buffer_variation1-mb.phpt41 string(28) "text/plain; charset=us-ascii"
42 string(26) "text/plain; charset=ebcdic"
43 string(40) "application/octet-stream; charset=binary"
44 string(28) "text/plain; charset=us-ascii"
45 string(28) "image/x-miff; charset=binary"
46 string(25) "text/plain; charset=utf-8"
H A Dfinfo_buffer_variation1.phpt41 string(28) "text/plain; charset=us-ascii"
42 string(26) "text/plain; charset=ebcdic"
43 string(40) "application/octet-stream; charset=binary"
44 string(28) "text/plain; charset=us-ascii"
45 string(28) "image/x-miff; charset=binary"
46 string(25) "text/plain; charset=utf-8"
/PHP-8.2/sapi/cgi/tests/
H A D011.phpt68 Content-type: text/html; charset=UTF-8
73 Content-type: text/html; charset=UTF-8
79 Content-type: text/html; charset=UTF-8
88 Content-type: text/html; charset=UTF-8
99 Content-type: text/html; charset=UTF-8
109 Content-type: text/html; charset=UTF-8
121 Content-type: text/html; charset=UTF-8
131 Content-type: text/html; charset=UTF-8
139 Content-type: text/html; charset=UTF-8
147 Content-type: text/html; charset=UTF-8
[all …]
H A D002.phpt32 Content-type: text/html%r; charset=.*|%r
37 Content-type: text/html%r; charset=.*|%r
42 Content-type: text/html%r; charset=.*|%r
47 Content-type: text/html%r; charset=.*|%r
H A Dbug81518a.phpt8 "text/html;charset=ISO-8859-1\r\nContent-Length: 31\r\n\r\n" .
13 Content-type: text/html; charset=UTF-8
H A D010.phpt43 Content-type: text/html; charset=UTF-8
47 Content-type: text/html; charset=UTF-8
51 Content-type: text/html; charset=UTF-8
/PHP-8.2/ext/standard/
H A Dhtml.c94 enum entity_charset charset, in get_next_char() argument
109 switch (charset) { in get_next_char()
464 switch (charset) { in map_from_unicode()
761 switch (charset) { in write_octet_sequence()
826 enum entity_charset charset) in traverse_for_entities() argument
903 if (charset != cs_utf_8) { in traverse_for_entities()
983 enum entity_charset charset; in php_unescape_html_entities() local
1024 enum entity_charset charset, in find_entity_for_char() argument
1136 if (charset == cs_utf_8) { in php_escape_html_entities_ex()
1416 enum entity_charset charset, in write_s3row_data() argument
[all …]
/PHP-8.2/ext/imap/tests/
H A Dbug53377.phpt16 ["charset"]=>
23 ["charset"]=>
30 ["charset"]=>
/PHP-8.2/ext/standard/tests/file/
H A Dstream_rfc2397_004.phpt11 'data://text/plain;charset=US-ASCII,test',
12 'data://;charset=UTF-8,Hello',
13 'data://text/plain;charset=UTF-8,Hello',
H A Dstream_rfc2397_005.phpt14 'data:text/plain;charset=US-ASCII,test',
15 'data:;charset=UTF-8,Hello',
16 'data:text/plain;charset=UTF-8,Hello',
/PHP-8.2/sapi/cli/tests/
H A Dbug43177.phpt62 Content-type: text/html; charset=UTF-8
70 Content-type: text/html; charset=UTF-8
77 Content-type: text/html; charset=UTF-8
84 Content-type: text/html; charset=UTF-8
/PHP-8.2/ext/dom/tests/
H A Dbug69679.phpt8 $html = "<!DOCTYPE html><html><head><meta charset='UTF-8'></head><body>U+0000 <span>\x0</span></bod…
14 <html><head><meta charset="UTF-8"></head><body>U+0000 <span></span></body></html>

Completed in 32 milliseconds

1234567891011