Home
last modified time | relevance | path

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

1234567891011

/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_get_charset.phpt71 printf("[015] Expecting object/std_class, got %s/%s\n", gettype($charset), $charset);
73 if (!isset($charset->charset) ||
74 !in_array(gettype($charset->charset), array("string", "unicode")) ||
75 ($character_set_connection !== $charset->charset))
76 …string/%s, got %s/%s\n", $character_set_connection, gettype($charset->charset), $charset->charset);
82 if (!isset($charset->dir) ||
83 !is_string($charset->dir))
89 ($charset->min_length > $charset->max_length))
91 gettype($charset->min_length), $charset->min_length);
98 if (!isset($charset->state) ||
[all …]
H A Dmysqli_character_set_name_oo.phpt35 …if (!$res = $mysqli->query('SELECT @@character_set_connection AS charset, @@collation_connection A…
39 if (!$tmp['charset'])
42 $charset = $mysqli->character_set_name();
43 if ($tmp['charset'] !== $charset) {
44 if ($tmp['collation'] === $charset) {
46 $tmp['collation'], $tmp['charset'], gettype($charset), $charset);
48 …haracter set %s/%s, got %s/%s\n", gettype($tmp['charset']), $tmp['charset'], gettype($charset), $c…
53 if ($charset2 !== $charset) {
55 gettype($charset2), $charset2, gettype($charset), $charset);
H A Dmysqli_character_set_name.phpt41 …if (!$res = mysqli_query($link, 'SELECT @@character_set_connection AS charset, @@collation_connect…
45 if (!$tmp['charset'])
48 $charset = mysqli_character_set_name($link);
49 if ($tmp['charset'] !== $charset) {
50 if ($tmp['collation'] === $charset) {
52 $tmp['collation'], $tmp['charset'], gettype($charset), $charset);
54 …haracter set %s/%s, got %s/%s\n", gettype($tmp['charset']), $tmp['charset'], gettype($charset), $c…
59 if ($charset2 !== $charset) {
60 …me returned %s/%s, expected %s/%s\n", 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'];
48 …if ($charset['Charset'] == 'ucs2' || $charset['Charset'] == 'utf16' || $charset['Charset'] == 'utf…
55 …$sql = sprintf("CREATE TABLE test(id INT, label CHAR(1)) CHARACTER SET '%s' ", $charset['Charset']…
61 if (!mysqli_set_charset($link, $charset['Charset'])) {
70 var_dump($charset['Charset']);
/PHP-7.4/ext/pdo_mysql/tests/
H A Dpdo_mysql_connect_charset.phpt2 PDO_MYSQL: Defining a connection charset in the DSN
13 /* Connect to mysql to determine the current charset so we can diffinate it */
15 $charset = $link->query("SHOW VARIABLES LIKE 'character_set_connection'")->fetchObject()->value;
18 $new_charset = ($charset == 'latin1' ? 'ascii' : 'latin1');
23 $link = MySQLPDOTest::factory('PDO', false, null, Array('charset' => $new_charset));
26 if ($charset !== $conn_charset) {
/PHP-7.4/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-7.4/ext/fileinfo/tests/
H A Dfinfo_buffer_basic-mb.phpt49 string(28) "text/plain; charset=us-ascii"
50 string(26) "text/plain; charset=ebcdic"
51 string(40) "application/octet-stream; charset=binary"
52 string(28) "text/plain; charset=us-ascii"
53 string(28) "text/plain; charset=us-ascii"
54 string(25) "text/plain; charset=utf-8"
H A Dfinfo_buffer_basic.phpt49 string(28) "text/plain; charset=us-ascii"
50 string(26) "text/plain; charset=ebcdic"
51 string(40) "application/octet-stream; charset=binary"
52 string(28) "text/plain; charset=us-ascii"
53 string(28) "text/plain; charset=us-ascii"
54 string(25) "text/plain; charset=utf-8"
H A Dfinfo_buffer_variation1-mb.phpt48 string(28) "text/plain; charset=us-ascii"
49 string(26) "text/plain; charset=ebcdic"
50 string(40) "application/octet-stream; charset=binary"
51 string(28) "text/plain; charset=us-ascii"
52 string(28) "text/plain; charset=us-ascii"
53 string(25) "text/plain; charset=utf-8"
H A Dfinfo_buffer_variation1.phpt48 string(28) "text/plain; charset=us-ascii"
49 string(26) "text/plain; charset=ebcdic"
50 string(40) "application/octet-stream; charset=binary"
51 string(28) "text/plain; charset=us-ascii"
52 string(28) "text/plain; charset=us-ascii"
53 string(25) "text/plain; charset=utf-8"
/PHP-7.4/ext/standard/
H A Dhtml.c98 enum entity_charset charset, in get_next_char() argument
113 switch (charset) { in get_next_char()
451 charset = charset_map[i].charset; in determine_charset()
461 return charset; in determine_charset()
535 switch (charset) { in map_from_unicode()
832 switch (charset) { in write_octet_sequence()
897 enum entity_charset charset) in traverse_for_entities() argument
974 if (charset != cs_utf_8) { in traverse_for_entities()
1054 enum entity_charset charset; in php_unescape_html_entities() local
1095 enum entity_charset charset, in find_entity_for_char() argument
[all …]
/PHP-7.4/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-7.4/ext/imap/tests/
H A Dbug53377.phpt19 ["charset"]=>
26 ["charset"]=>
33 ["charset"]=>
/PHP-7.4/ext/standard/tests/strings/
H A Dbug44703.phpt25 Warning: htmlspecialchars(): charset `1' not supported, assuming utf-8 in %s on line %d
28 Warning: htmlspecialchars(): charset `12' not supported, assuming utf-8 in %s on line %d
31 Warning: htmlspecialchars(): charset `125' not supported, assuming utf-8 in %s on line %d
35 Warning: htmlspecialchars(): charset `12526' not supported, assuming utf-8 in %s on line %d
39 Warning: htmlspecialchars(): charset `8666' not supported, assuming utf-8 in %s on line %d
45 Warning: htmlspecialchars(): charset `aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa…
H A Dconvert_cyr_string.phpt22 Warning: convert_cyr_string(): Unknown source charset: in %s on line %d
24 Warning: convert_cyr_string(): Unknown destination charset: in %s on line %d
34 Warning: convert_cyr_string(): Unknown source charset: q in %s on line %d
51 Warning: convert_cyr_string(): Unknown destination charset: q in %s on line %d
H A Dconvert_cyr_string_error.phpt36 Warning: convert_cyr_string(): Unknown source charset: ? in %s on line %d
43 Warning: convert_cyr_string(): Unknown destination charset: ? in %s on line %d
50 Warning: convert_cyr_string(): Unknown source charset: > in %s on line %d
52 Warning: convert_cyr_string(): Unknown destination charset: ? in %s on line %d
/PHP-7.4/ext/iconv/tests/
H A Diconv_strlen.phpt7 function foo($str, $charset) {
9 var_dump(iconv_strlen($str, $charset));
H A Dbug53891.phpt11 'input-charset' => 'utf-8',
12 'output-charset' => 'utf-8',
/PHP-7.4/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-7.4/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 38 milliseconds

1234567891011