/PHP-5.3/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 | 47 foreach ($charsets as $charset) { 48 $k = $charset['Charset']; 52 …if ($charset['Charset'] == 'ucs2' || $charset['Charset'] == 'utf16' || $charset['Charset'] == 'utf… 59 …$sql = sprintf("CREATE TABLE test(id INT, label CHAR(1)) CHARACTER SET '%s' ", $charset['Charset']… 65 if (!mysqli_set_charset($link, $charset['Charset'])) { 74 var_dump($charset['Charset']);
|
H A D | mysqli_options.phpt | 87 foreach ($charsets as $charset) { 88 $k = $charset['Charset']; 91 …if ($charset['Charset'] == 'ucs2' || $charset['Charset'] == 'utf16' || $charset['Charset'] == 'utf… 94 if (true !== mysqli_options($link, MYSQLI_SET_CHARSET_NAME, $charset['Charset'])) { 95 printf("[009] Setting charset name '%s' has failed\n", $charset['Charset']);
|
/PHP-5.3/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));
|
H A D | bug48289.phpt | 10 'input-charset' => 'UTF-8', 11 'output-charset' => 'UTF-8',
|
/PHP-5.3/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) {
|
H A D | pdo_mysql___construct.phpt | 187 // MySQL Server 4.1 - charset support available 196 $charset = PDO_MYSQL_TEST_CHARSET; 202 $stmt = $db->query(sprintf('SHOW CHARACTER SET LIKE "%s"', $charset)); 207 $dsn = MySQLPDOTest::getDSN(array('charset' => $charset), 'charset=' . $invalid_charset); 218 $dsn = MySQLPDOTest::getDSN(array('charset' => $invalid_charset), 'charset=' . $charset); 224 if ($tmp['_charset'] != $charset) 226 $tmp['_charset'], $charset); 231 …("[030] You're trying to run the tests with charset '%s' which seems not supported by the server!"… 240 // we do another test to verify that the charset has been set. 253 $dsn = MySQLPDOTest::getDSN(array('charset' => 'latin1')); [all …]
|
/PHP-5.3/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-5.3/ext/standard/tests/strings/ |
H A D | bug44703.phpt | 25 Warning: htmlspecialchars(): charset `1' not supported, assuming iso-8859-1 in %s on line %d 28 Warning: htmlspecialchars(): charset `12' not supported, assuming iso-8859-1 in %s on line %d 31 Warning: htmlspecialchars(): charset `125' not supported, assuming iso-8859-1 in %s on line %d 35 Warning: htmlspecialchars(): charset `12526' not supported, assuming iso-8859-1 in %s on line %d 39 Warning: htmlspecialchars(): charset `8666' not supported, assuming iso-8859-1 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-5.3/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-5.3/ext/imap/tests/ |
H A D | bug53377.phpt | 19 ["charset"]=> 26 ["charset"]=> 33 ["charset"]=>
|
/PHP-5.3/sapi/cgi/tests/ |
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 | 003.phpt | 45 Content-type: text/html%r; charset=.*|%r 53 Content-type: text/html%r; charset=.*|%r 58 Content-type: text/html%r; charset=.*|%r
|
/PHP-5.3/ext/session/tests/ |
H A D | 018.phpt | 21 <form accept-charset="ISO-8859-15, ISO-8859-1" action=url.php> 26 <form accept-charset="ISO-8859-15, ISO-8859-1" action=url.php><input type="hidden" name="PHPSESSID"…
|
/PHP-5.3/ext/standard/ |
H A D | html.c | 418 enum entity_charset charset; member 533 switch (charset) { in get_next_char() 857 charset = charset_map[i].charset; in determine_charset() 870 return charset; in determine_charset() 939 if (entity_map[j].charset != charset) in php_unescape_html_entities() 956 switch (charset) { in php_unescape_html_entities() 1034 switch (charset) { in php_unescape_html_entities() 1167 if (entity_map[j].charset == charset in php_escape_html_entities_ex() 1427 enum entity_charset charset; in PHP_FUNCTION() local 1441 if (entity_map[j].charset != charset) in PHP_FUNCTION() [all …]
|