/PHP-8.0/ext/mysqli/tests/ |
H A D | mysqli_get_charset.phpt | 58 printf("[015] Expecting object/std_class, got %s/%s\n", gettype($charset), $charset); 60 if (!isset($charset->charset) || 61 !in_array(gettype($charset->charset), array("string", "unicode")) || 62 ($character_set_connection !== $charset->charset)) 63 …string/%s, got %s/%s\n", $character_set_connection, gettype($charset->charset), $charset->charset); 69 if (!isset($charset->dir) || 70 !is_string($charset->dir)) 76 ($charset->min_length > $charset->max_length)) 78 gettype($charset->min_length), $charset->min_length); 85 if (!isset($charset->state) || [all …]
|
H A D | mysqli_character_set_name.phpt | 28 …if (!$res = mysqli_query($link, 'SELECT @@character_set_connection AS charset, @@collation_connect… 32 if (!$tmp['charset']) 35 $charset = mysqli_character_set_name($link); 36 if ($tmp['charset'] !== $charset) { 37 if ($tmp['collation'] === $charset) { 39 $tmp['collation'], $tmp['charset'], gettype($charset), $charset); 41 …haracter set %s/%s, got %s/%s\n", gettype($tmp['charset']), $tmp['charset'], gettype($charset), $c… 46 if ($charset2 !== $charset) { 47 …me returned %s/%s, expected %s/%s\n", gettype($charset2), $charset2, gettype($charset), $charset);
|
H A D | mysqli_character_set_name_oo.phpt | 31 …if (!$res = $mysqli->query('SELECT @@character_set_connection AS charset, @@collation_connection A… 35 if (!$tmp['charset']) 38 $charset = $mysqli->character_set_name(); 39 if ($tmp['charset'] !== $charset) { 40 if ($tmp['collation'] === $charset) { 42 $tmp['collation'], $tmp['charset'], gettype($charset), $charset); 44 …haracter set %s/%s, got %s/%s\n", gettype($tmp['charset']), $tmp['charset'], gettype($charset), $c… 49 if ($charset2 !== $charset) { 51 gettype($charset2), $charset2, gettype($charset), $charset);
|
H A D | mysqli_change_user_set_names.phpt | 55 foreach ($charsets as $charset => $collation) { 58 $charset != $not_changed['charset_client'] && 63 $charset != $not_changed['charset_connection'] && 68 $charset != $not_changed['charset_results'] && 139 if (!is_object($charset = mysqli_get_charset($link))) 140 printf("[013] Expecting object/std_class, got %s/%s\n", gettype($charset), $charset); 142 if ($charset->charset != $defaults['charset_connection']) 143 printf("[014] Expecting connection charset to be %s got %s\n", 145 $charset->charset); 147 if ($charset->collation != $defaults['collation_connection']) [all …]
|
H A D | mysqli_character_set.phpt | 42 foreach ($charsets as $charset) { 43 $k = $charset['Charset']; 48 …charset['Charset'] == 'ucs2' || $charset['Charset'] == 'utf16' || $charset['Charset'] == 'utf32' |… 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']);
|
H A D | mysqli_options.phpt | 67 foreach ($charsets as $charset) { 68 $k = $charset['Charset']; 72 …if ($charset['Charset'] == 'ucs2' || $charset['Charset'] == 'utf16' || $charset['Charset'] == 'utf… 75 if (true !== mysqli_options($link, MYSQLI_SET_CHARSET_NAME, $charset['Charset'])) { 76 printf("[009] Setting charset name '%s' has failed\n", $charset['Charset']);
|
/PHP-8.0/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_connect_charset.phpt | 2 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-8.0/ext/fileinfo/tests/ |
H A D | finfo_buffer_basic.phpt | 42 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 D | finfo_buffer_basic-mb.phpt | 42 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 D | finfo_buffer_variation1-mb.phpt | 41 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 D | finfo_buffer_variation1.phpt | 41 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.0/sapi/cgi/tests/ |
H A D | 011.phpt | 68 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 D | 002.phpt | 32 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 D | bug81518a.phpt | 8 "text/html;charset=ISO-8859-1\r\nContent-Length: 31\r\n\r\n" . 13 Content-type: text/html; charset=UTF-8
|
H A D | 010.phpt | 43 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.0/ext/standard/tests/file/ |
H A D | stream_rfc2397_004.phpt | 11 'data://text/plain;charset=US-ASCII,test', 12 'data://;charset=UTF-8,Hello', 13 'data://text/plain;charset=UTF-8,Hello',
|
H A D | stream_rfc2397_005.phpt | 14 'data:text/plain;charset=US-ASCII,test', 15 'data:;charset=UTF-8,Hello', 16 'data:text/plain;charset=UTF-8,Hello',
|
/PHP-8.0/ext/standard/ |
H A D | html.c | 94 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.0/ext/imap/tests/ |
H A D | bug53377.phpt | 18 ["charset"]=> 25 ["charset"]=> 32 ["charset"]=>
|
/PHP-8.0/ext/iconv/tests/ |
H A D | iconv_strlen.phpt | 7 function foo($str, $charset) { 9 var_dump(iconv_strlen($str, $charset));
|
H A D | bug53891.phpt | 11 'input-charset' => 'utf-8', 12 'output-charset' => 'utf-8',
|
H A D | bug66828.phpt | 10 "input-charset" => "ISO-8859-1", 11 "output-charset" => "UTF-8",
|
/PHP-8.0/sapi/cli/tests/ |
H A D | bug43177.phpt | 62 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.0/ext/dom/tests/ |
H A D | bug69679.phpt | 8 $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>
|
/PHP-8.0/ext/session/tests/ |
H A D | 018.phpt | 22 <form accept-charset="ISO-8859-15, ISO-8859-1" action=url.php> 27 <form accept-charset="ISO-8859-15, ISO-8859-1" action=url.php><input type="hidden" name="PHPSESSID"…
|