/PHP-7.0/ext/mysqli/tests/ |
H A D | mysqli_get_charset.phpt | 71 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); 94 !is_int($charset->number) || [all …]
|
H A D | mysqli_character_set_name_oo.phpt | 35 …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 D | mysqli_character_set_name.phpt | 41 …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 D | mysqli_change_user_set_names.phpt | 56 foreach ($charsets as $charset => $collation) { 59 $charset != $not_changed['charset_client'] && 64 $charset != $not_changed['charset_connection'] && 69 $charset != $not_changed['charset_results'] && 148 if (!is_object($charset = mysqli_get_charset($link))) 149 printf("[013] Expecting object/std_class, got %s/%s\n", gettype($charset), $charset); 151 if ($charset->charset != $defaults['charset_connection']) 152 printf("[014] Expecting connection charset to be %s got %s\n", 154 $charset->charset); 156 if ($charset->collation != $defaults['collation_connection']) [all …]
|
H A D | mysqli_character_set.phpt | 44 foreach ($charsets as $charset) { 45 $k = $charset['Charset']; 49 …if ($charset['Charset'] == 'ucs2' || $charset['Charset'] == 'utf16' || $charset['Charset'] == 'utf… 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']);
|
/PHP-7.0/ext/iconv/tests/ |
H A D | iconv_mime_decode_variation3.phpt | 2 Test iconv_mime_decode() function : usage variations - Pass different data types to charset arg 10 /* Prototype : string iconv_mime_decode(string encoded_string [, int mode, string charset]) 22 // Some of the parameters actually passed to charset will request to use 23 // a default charset determined by the platform. In order for this test to 27 $charset = 'UTF-8'; 121 Notice: iconv_mime_decode(): Wrong charset, conversion from `???' to `0' is not allowed in %s on li… 126 Notice: iconv_mime_decode(): Wrong charset, conversion from `???' to `1' is not allowed in %s on li… 141 Notice: iconv_mime_decode(): Wrong charset, conversion from `???' to `10.5' is not allowed in %s on… 161 Notice: iconv_mime_decode(): Wrong charset, conversion from `???' to `0.5' is not allowed in %s on … 172 Notice: iconv_mime_decode(): Wrong charset, conversion from `???' to `1' is not allowed in %s on li… [all …]
|
H A D | iconv_strpos_variation4.phpt | 2 Test iconv_strpos() function : usage variations - pass different data types as $charset arg 10 /* Prototype : int iconv_strpos(string haystack, string needle [, int offset [, string charset]]) 114 Notice: iconv_strpos(): Wrong charset, conversion from `0' to `UCS-4LE' is not allowed in %s on lin… 119 Notice: iconv_strpos(): Wrong charset, conversion from `1' to `UCS-4LE' is not allowed in %s on lin… 124 Notice: iconv_strpos(): Wrong charset, conversion from `12345' to `UCS-4LE' is not allowed in %s on… 129 Notice: iconv_strpos(): Wrong charset, conversion from `-2345' to `UCS-4LE' is not allowed in %s on… 134 Notice: iconv_strpos(): Wrong charset, conversion from `10.5' to `UCS-4LE' is not allowed in %s on … 139 Notice: iconv_strpos(): Wrong charset, conversion from `-10.5' to `UCS-4LE' is not allowed in %s on… 154 Notice: iconv_strpos(): Wrong charset, conversion from `0.5' to `UCS-4LE' is not allowed in %s on l… 165 Notice: iconv_strpos(): Wrong charset, conversion from `1' to `UCS-4LE' is not allowed in %s on lin… [all …]
|
H A D | iconv_strlen_variation2.phpt | 10 /* Prototype : int iconv_strlen(string str [, string charset]) 111 Notice: iconv_strlen(): Wrong charset, conversion from `0' to `UCS-4LE' is not allowed in %s on lin… 116 Notice: iconv_strlen(): Wrong charset, conversion from `1' to `UCS-4LE' is not allowed in %s on lin… 121 Notice: iconv_strlen(): Wrong charset, conversion from `12345' to `UCS-4LE' is not allowed in %s on… 126 Notice: iconv_strlen(): Wrong charset, conversion from `-2345' to `UCS-4LE' is not allowed in %s on… 131 Notice: iconv_strlen(): Wrong charset, conversion from `10.5' to `UCS-4LE' is not allowed in %s on … 136 Notice: iconv_strlen(): Wrong charset, conversion from `-10.5' to `UCS-4LE' is not allowed in %s on… 141 Notice: iconv_strlen(): Wrong charset, conversion from `123456789000' to `UCS-4LE' is not allowed i… 151 Notice: iconv_strlen(): Wrong charset, conversion from `0.5' to `UCS-4LE' is not allowed in %s on l… 162 Notice: iconv_strlen(): Wrong charset, conversion from `1' to `UCS-4LE' is not allowed in %s on lin… [all …]
|
H A D | iconv_strrpos_variation3.phpt | 10 /* Prototype : proto int iconv_strrpos(string haystack, string needle [, string charset]) 112 Notice: iconv_strrpos(): Wrong charset, conversion from `0' to `UCS-4LE' is not allowed in %s on li… 117 Notice: iconv_strrpos(): Wrong charset, conversion from `1' to `UCS-4LE' is not allowed in %s on li… 122 Notice: iconv_strrpos(): Wrong charset, conversion from `12345' to `UCS-4LE' is not allowed in %s o… 127 Notice: iconv_strrpos(): Wrong charset, conversion from `-2345' to `UCS-4LE' is not allowed in %s o… 132 Notice: iconv_strrpos(): Wrong charset, conversion from `10.5' to `UCS-4LE' is not allowed in %s on… 137 Notice: iconv_strrpos(): Wrong charset, conversion from `-10.5' to `UCS-4LE' is not allowed in %s o… 142 Notice: iconv_strrpos(): Wrong charset, conversion from `123456789000' to `UCS-4LE' is not allowed … 152 Notice: iconv_strrpos(): Wrong charset, conversion from `0.5' to `UCS-4LE' is not allowed in %s on … 163 Notice: iconv_strrpos(): Wrong charset, conversion from `1' to `UCS-4LE' is not allowed in %s on li… [all …]
|
H A D | iconv_strlen.phpt | 7 function foo($str, $charset) { 9 var_dump(iconv_strlen($str, $charset));
|
/PHP-7.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-7.0/ |
H A D | .editorconfig | 6 charset = utf-8 15 charset = utf-8 23 charset = utf-8 31 charset = utf-8
|
/PHP-7.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 | 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-7.0/ext/fileinfo/tests/ |
H A D | finfo_buffer_basic.phpt | 49 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 D | finfo_buffer_variation1.phpt | 48 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.0/ext/standard/ |
H A D | html.c | 102 enum entity_charset charset, in get_next_char() argument 117 switch (charset) { in get_next_char() 457 charset = charset_map[i].charset; in determine_charset() 467 return charset; in determine_charset() 582 switch (charset) { in map_from_unicode() 879 switch (charset) { in write_octet_sequence() 944 enum entity_charset charset) in traverse_for_entities() argument 1021 if (charset != cs_utf_8) { in traverse_for_entities() 1102 enum entity_charset charset; in php_unescape_html_entities() local 1146 enum entity_charset charset, in find_entity_for_char() argument [all …]
|
/PHP-7.0/ext/standard/tests/strings/ |
H A D | bug44703.phpt | 25 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 D | convert_cyr_string.phpt | 32 Warning: convert_cyr_string(): Unknown source charset: in %s on line %d 34 Warning: convert_cyr_string(): Unknown destination charset: in %s on line %d 40 Warning: convert_cyr_string(): Unknown source charset: q in %s on line %d 47 Warning: convert_cyr_string(): Unknown destination charset: q in %s on line %d
|
/PHP-7.0/ext/imap/tests/ |
H A D | bug53377.phpt | 19 ["charset"]=> 26 ["charset"]=> 33 ["charset"]=>
|
/PHP-7.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-7.0/sapi/cli/tests/ |
H A D | bug43177.phpt | 66 Content-type: text/html; charset=UTF-8 73 Content-type: text/html; charset=UTF-8 79 Content-type: text/html; charset=UTF-8 85 Content-type: text/html; charset=UTF-8
|
/PHP-7.0/ext/dom/tests/ |
H A D | bug69679.phpt | 6 $html = "<!DOCTYPE html><html><head><meta charset='UTF-8'></head><body>U+0000 <span>\x0</span></bod… 12 <html><head><meta charset="UTF-8"></head><body>U+0000 <span></span></body></html>
|