/PHP-8.0/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_big5.c | 252 s = 0; in mbfl_filt_conv_wchar_big5() 287 s = 0x80; in mbfl_filt_conv_wchar_big5() 289 s = 0xff; in mbfl_filt_conv_wchar_big5() 291 s = 0xa27e; in mbfl_filt_conv_wchar_big5() 293 s = 0xa2a1; in mbfl_filt_conv_wchar_big5() 295 s = 0xa2a3; in mbfl_filt_conv_wchar_big5() 297 s = 0xa2a2; in mbfl_filt_conv_wchar_big5() 301 if (s <= 0) { in mbfl_filt_conv_wchar_big5() 307 s = 0; in mbfl_filt_conv_wchar_big5() 309 s = -1; in mbfl_filt_conv_wchar_big5() [all …]
|
/PHP-8.0/ext/mysqli/tests/ |
H A D | mysqli_select_db.phpt | 14 …f("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 19 … printf("[005] Cannot select DB %s, [%d] %s\n", $db, mysqli_errno($link), mysqli_error($link)); 22 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 25 printf("[007] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 28 printf("[008] Expecting database '%s', found '%s'\n", $db, $row['dbname']); 47 printf("[012] Failed to set '%s' as current DB; [%d] %s\n", $link->errno, $link->error); 50 printf("[013] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 53 printf("[014] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 67 …ATE: 42000 (ER_DBACCESS_DENIED_ERROR) Message: Access denied for user '%s'@'%s' to database '%s' */ 68 …E: 28000 (ER_ACCESS_DENIED_ERROR) Message: Access denied for user '%s'@'%s' (using password: %s) */ [all …]
|
H A D | mysqli_pam_sha256_public_key_option_invalid.phpt | 49 $file = sprintf("%s%s%s_%s", sys_get_temp_dir(), DIRECTORY_SEPARATOR, "test_sha256_" , @date("Ymd")… 125 …$file = sprintf("%s%s%s_%s", sys_get_temp_dir(), DIRECTORY_SEPARATOR, "test_sha256_" , @date("Ymd"… 132 …$file_wrong = sprintf("%s%s%s_%s", sys_get_temp_dir(), DIRECTORY_SEPARATOR, "test_sha256_wrong" , … 171 …$file = sprintf("%s%s%s_%s", sys_get_temp_dir(), DIRECTORY_SEPARATOR, "test_sha256_" , @date("Ymd"… 173 …$file_wrong = sprintf("%s%s%s_%s", sys_get_temp_dir(), DIRECTORY_SEPARATOR, "test_sha256_wrong" , … 177 Warning: mysqli::real_connect(): (HY000/1045): %s in %s on line %d 178 [200 + 002] [1045] %s 180 Warning: mysqli::real_connect(): (HY000/1045): %s in %s on line %d 181 [300 + 002] [1045] %s 185 Warning: mysqli::real_connect(): (HY000/1045): %s in %s on line %d [all …]
|
H A D | mysqli_stmt_get_result2.phpt | 22 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 25 printf("[005] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 31 printf("[007] Expecting object/mysqli_result got %s/%s, [%d] %s\n", 40 printf("[008] boolean/false got %s/%s, [%d] %s\n", 46 printf("[009] Expecting object/mysqli_result got %s/%s, [%d] %s\n", 69 printf("[013] boolean/false got %s/%s, [%d] %s\n", 81 printf("[015] Expecting object/mysqli_result got %s/%s, [%d] %s\n", 100 printf("[019] Expecting object/mysqli_result got %s/%s, [%d] %s\n", 121 printf("[023] Expecting object/mysqli_result got %s/%s, [%d] %s\n", 125 printf("[024] Unknown result set type %s\n", $res->type); [all …]
|
H A D | mysqli_character_set_name.phpt | 14 …f("[005] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 18 printf("[005] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 29 printf("[008] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 38 …bugs.mysql.com/bug.php?id=7923, collation %s instead of character set returned, expected string/%s… 41 …printf("[011] Expecting character set %s/%s, got %s/%s\n", gettype($tmp['charset']), $tmp['charset… 47 …printf("[012] Alias mysqli_character_set_name returned %s/%s, expected %s/%s\n", gettype($charset…
|
H A D | mysqli_stmt_get_result_types.phpt | 15 printf("[001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error()); 24 …ysqli_query($link, sprintf("CREATE TABLE test(id INT, label %s, PRIMARY KEY(id)) ENGINE = %s", $sq… 83 printf("[%04d] [%d] Expecting %s/'%s' [type hint = %s], got %s/'%s'\n", 183 func_mysqli_stmt_get_result($link, $engine, "s", "DATE", NULL, 880); 185 func_mysqli_stmt_get_result($link, $engine, "s", "DATETIME", @date('Y-m-d H:i:s'), 900); 186 … func_mysqli_stmt_get_result($link, $engine, "s", "DATETIME NOT NULL", @date('Y-m-d H:i:s'), 920); 189 func_mysqli_stmt_get_result($link, $engine, "s", "TIMESTAMP", @date('Y-m-d H:i:s'), 960); 191 func_mysqli_stmt_get_result($link, $engine, "s", "TIME", @date('H:i:s'), 980); 192 func_mysqli_stmt_get_result($link, $engine, "s", "TIME NOT NULL", @date('H:i:s'), 1000); 193 func_mysqli_stmt_get_result($link, $engine, "s", "TIME", NULL, 1020); [all …]
|
H A D | mysqli_stmt_bind_result.phpt | 40 printf("[006] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 65 …ysqli_query($link, sprintf("CREATE TABLE test(id INT, label %s, PRIMARY KEY(id)) ENGINE = %s", $sq… 124 printf("[%04d] [%d] Expecting %s/'%s' [type hint = %s], got %s/'%s'\n", 221 func_mysqli_stmt_bind_result($link, $engine, "s", "DATE", NULL, 880); 223 func_mysqli_stmt_bind_result($link, $engine, "s", "DATETIME", @date('Y-m-d H:i:s'), 900); 224 … func_mysqli_stmt_bind_result($link, $engine, "s", "DATETIME NOT NULL", @date('Y-m-d H:i:s'), 920); 227 func_mysqli_stmt_bind_result($link, $engine, "s", "TIMESTAMP", @date('Y-m-d H:i:s'), 960); 229 func_mysqli_stmt_bind_result($link, $engine, "s", "TIME", @date('H:i:s'), 980); 230 func_mysqli_stmt_bind_result($link, $engine, "s", "TIME NOT NULL", @date('H:i:s'), 1000); 231 func_mysqli_stmt_bind_result($link, $engine, "s", "TIME", NULL, 1020); [all …]
|
H A D | mysqli_stmt_get_result_bit.phpt | 37 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 48 printf("[002 - %d] [%d] %s\n",$bits, mysqli_errno($link), mysqli_error($link)); 51 printf("[003 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link)); 75 $sql = sprintf("INSERT INTO test(id, bit_value) VALUES (%s, b'%s')", $value, $bin); 82 … printf("[004 - %d] [%d] %s\n", $bits, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 87 … printf("[005 - %d] [%d] %s\n", $bits, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 93 printf("[007 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link)); 98 … printf("[008 - %d] Insert of %s in BIT(%d) column might have failed. id = %s, bin = %s (%s/%s)\n", 104 printf("%10s %64s\n%10s %64s\n", '_bin', $row['_bin'], 'insert', $bin); 105 printf("[009 - %d] Expecting %s got %s\n", $bits, $value, $row['bit_value']); [all …]
|
H A D | mysqli_character_set.phpt | 19 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 23 printf("[002] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 34 printf("[005] Cannot get list of available character sets, [%d] %s\n", 53 printf("[006 + %s] [%d] %s\n", $k, mysqli_errno($link), mysqli_error($link)); 57 printf("[007 + %s] %s [%d] %s\n", $k, $sql, mysqli_errno($link), mysqli_error($link)); 62 printf("[008 + %s] [%d] %s\n", $k, mysqli_errno($link), mysqli_error($link)); 71 printf("[009 + %s] [%d] %s\n", $k, mysqli_errno($link), mysqli_error($link)); 77 printf("[010 + %s] [%d] %s\n", $k, mysqli_errno($link), mysqli_error($link)); 82 printf("[011 + %s] [%d] %s\n", $k, mysqli_errno($link), mysqli_error($link)); 85 printf("[012 + %s] Expecting %d, got %s, [%d] %s\n", $k, [all …]
|
H A D | mysqli_fetch_assoc_bit.phpt | 34 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 45 printf("[002 - %d] [%d] %s\n",$bits, mysqli_errno($link), mysqli_error($link)); 69 $sql = sprintf("INSERT INTO test(id, bit_value) VALUES (%s, b'%s')", $value, $bin); 75 printf("[003 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link)); 77 …alue) AS _bin, bit_value + 0 AS _bit_value0, bit_value, bit_null FROM test WHERE id = %s", $value); 79 printf("[004 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link)); 82 printf("[005 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link)); 86 … printf("[006 - %d] Insert of %s in BIT(%d) column might have failed. id = %s, bin = %s (%s/%s)\n", 92 printf("%10s %64s\n%10s %64s\n", '_bin', $row['_bin'], 'insert', $bin); 93 printf("[007 - %d] Expecting %s got %s\n", $bits, $value, $row['bit_value']); [all …]
|
/PHP-8.0/ext/session/tests/ |
H A D | bug50308.phpt | 26 <a href="?PHPSESSID=%s"/> 27 <a href="?PHPSESSID=%s" /> 28 <a href="foo?PHPSESSID=%s"/> 29 <a href="foo?PHPSESSID=%s" /> 30 <a href=foo/?PHPSESSID=%s> 31 <a href="/?PHPSESSID=%s"> 32 <a href=/?PHPSESSID=%s> 33 <a href=?foo=bar/&PHPSESSID=%s> 34 <a href="?foo=bar&PHPSESSID=%s"/> 35 <a href=./?PHPSESSID=%s> [all …]
|
/PHP-8.0/tests/security/ |
H A D | open_basedir_symlink.phpt | 55 …open_basedir restriction in effect. File(%s/test/bad/symlink.txt) is not within the allowed path(s… 58 …: open_basedir restriction in effect. File(%s/test/symlink.txt) is not within the allowed path(s):… 61 …open_basedir restriction in effect. File(%s/test/bad/symlink.txt) is not within the allowed path(s… 64 …: open_basedir restriction in effect. File(%s/test/symlink.txt) is not within the allowed path(s):… 67 …: open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s):… 70 …nk(): open_basedir restriction in effect. File(%s/test/bad) is not within the allowed path(s): (.)… 73 …: open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s):… 76 …: open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s):… 79 …nk(): open_basedir restriction in effect. File(%s/test/bad) is not within the allowed path(s): (.)…
|
/PHP-8.0/ext/oci8/tests/ |
H A D | lob_029.phpt | 31 @oci_execute($s); 34 @oci_execute($s); 37 oci_execute($s); 44 oci_execute($s); 47 oci_execute($s); 50 oci_execute($s); 53 oci_execute($s); 60 oci_execute($s); 66 oci_execute($s); 75 oci_execute($s); [all …]
|
/PHP-8.0/sapi/fuzzer/corpus/unserialize/ |
H A D | bug74103 | 1 a:7:{i:0;i:04;s:1:"a";i:2;i:9617006;i:4;s:1:"a";i:4;s:1:"a";R:5;s:1:"7";R:3;s:1:"a";R:5;;s:18;}}
|
/PHP-8.0/Zend/ |
H A D | zend_smart_str.h | 76 char *ret = ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s); in smart_str_extend_ex() 82 if (str->s) { in smart_str_free_ex() 84 str->s = NULL; in smart_str_free_ex() 90 if (str->s) { in smart_str_0() 91 ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; in smart_str_0() 96 return str->s ? ZSTR_LEN(str->s) : 0; in smart_str_get_len() 100 if (str->s) { in smart_str_extract() 103 res = str->s; in smart_str_extract() 104 str->s = NULL; in smart_str_extract() 119 memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); in smart_str_appendl_ex() [all …]
|
/PHP-8.0/Zend/tests/ |
H A D | concat_001.phpt | 16 $s = "some string"; 21 var_dump($a.$s); 27 var_dump($o.$s); 32 var_dump($s.$o); 33 var_dump($s.$a); 34 var_dump($s.$i); 35 var_dump($s.$d); 36 var_dump($s.$s); 40 var_dump($i.$s); 46 var_dump($d.$s); [all …]
|
H A D | bug60573_2.phpt | 7 public function setSelf(self $s) { } 13 public function setSelf(parent $s) { } 19 public function setSelf(Foo2 $s) { } 25 public function setSelf(parent $s) { } 34 public function setSelf(parent $s) { } 40 public function setSelf(Base $s) { } 46 public function setSelf(self $s) { } 52 public function setSelf(parent $s) { } 58 public function setSelf(parent $s) { } 64 Fatal error: Declaration of Bar5::setSelf(Foo5 $s) must be compatible with Foo5::setSelf(Base $s) i…
|
/PHP-8.0/ext/standard/tests/serialize/ |
H A D | bug55798.phpt | 16 string(51) "O:8:"stdClass":2:{s:1:"0";s:1:"X";s:1:"1";s:1:"Y";}" 18 string(51) "O:8:"stdClass":2:{s:1:"0";s:1:"X";s:1:"1";s:1:"Y";}"
|
/PHP-8.0/ext/intl/tests/ |
H A D | transliterator_transliterate_basic.phpt | 8 $s = "Κοντογιαννάτος, Βασίλης"; 9 echo $t->transliterate($s),"\n"; 10 echo transliterator_transliterate($t, $s),"\n"; 11 echo $t->transliterate($s, 3),"\n"; 12 echo $t->transliterate($s, 3, 4),"\n"; 17 Kontogiannátos, Basílēs 18 Kontogiannátos, Basílēs 19 ΚονTogiannátos, Basílēs
|
/PHP-8.0/ext/standard/tests/file/ |
H A D | tempnam_variation2-win32.phpt | 90 File name is => %s\tempnam_variation2\tempnam_variation2_sub\t%s 95 File name is => %s\tempnam_variation2\tempnam_variation2_sub\t%s 100 File name is => %s\tempnam_variation2\t%s 105 File name is => %s\tempnam_variation2\t%s 110 File name is => %s\tempnam_variation2\t%s 115 File name is => %s\tempnam_variation2\t%s 122 File name is => %s\t%s 127 File name is => %s\t%s 134 File name is => %s\t%s 141 File name is => %s\t%s [all …]
|
H A D | tempnam_variation2.phpt | 90 File name is => %s/tempnam_variation2/tempnam_variation2_sub/tempnam_variation2.tmp%s 95 File name is => %s/tempnam_variation2/tempnam_variation2_sub/tempnam_variation2.tmp%s 100 File name is => %s/tempnam_variation2/tempnam_variation2.tmp%s 105 File name is => %s/tempnam_variation2/tempnam_variation2.tmp%s 110 File name is => %s/tempnam_variation2/tempnam_variation2.tmp%s 115 File name is => %s/tempnam_variation2/tempnam_variation2.tmp%s 122 File name is => %s/tempnam_variation2.tmp%s 127 File name is => %s/tempnam_variation2.tmp%s 134 File name is => %s/tempnam_variation2.tmp%s 141 File name is => %s/tempnam_variation2.tmp%s [all …]
|
H A D | touch_variation6-win32.phpt | 165 Warning: touch(): Unable to create file touchVar5.tmp\..\BADDIR\aSubDirOrFile because %s in %s on l… 168 Warning: touch(): Unable to create file BADDIR\aSubDirOrFile because %s in %s on line %d 169 --- testing %s\touchVar5.tmp\aSubDirOrFile --- 175 --- testing %s\BADDIR\aSubDirOrFile --- 177 Warning: touch(): Unable to create file %s\BADDIR\aSubDirOrFile because %s in %s on line %d 180 Warning: touch(): Unable to create file touchVar5.tmp\aSubDirOrFile\ because %s in %s on line %d 181 --- testing %s\touchVar5.tmp\aSubDirOrFile\ --- 183 Warning: touch(): Unable to create file %s\touchVar5.tmp\aSubDirOrFile\ because %s in %s on line %d 188 --- testing /%s/touchVar5.tmp/aSubDirOrFile --- 198 --- testing %s\touchVar5.tmp\aSubDirOrFile --- [all …]
|
/PHP-8.0/Zend/tests/type_declarations/ |
H A D | scalar_strict.phpt | 12 'string' => function (string $s) { return $s; }, 166 *** Caught {closure}(): Argument #1 ($s) must be of type string, int given, called in %s on line %d 172 *** Caught {closure}(): Argument #1 ($s) must be of type string, float given, called in %s on line … 175 *** Caught {closure}(): Argument #1 ($s) must be of type string, float given, called in %s on line … 187 *** Caught {closure}(): Argument #1 ($s) must be of type string, int given, called in %s on line %d 190 *** Caught {closure}(): Argument #1 ($s) must be of type string, float given, called in %s on line … 193 *** Caught {closure}(): Argument #1 ($s) must be of type string, bool given, called in %s on line %d 196 *** Caught {closure}(): Argument #1 ($s) must be of type string, bool given, called in %s on line %d 199 *** Caught {closure}(): Argument #1 ($s) must be of type string, null given, called in %s on line %d 203 *** Caught {closure}(): Argument #1 ($s) must be of type string, array given, called in %s on line … [all …]
|
H A D | scalar_strict_64bit.phpt | 12 'string' => function (string $s) { return $s; }, 166 *** Caught {closure}(): Argument #1 ($s) must be of type string, int given, called in %s on line %d 172 *** Caught {closure}(): Argument #1 ($s) must be of type string, float given, called in %s on line … 175 *** Caught {closure}(): Argument #1 ($s) must be of type string, float given, called in %s on line … 187 *** Caught {closure}(): Argument #1 ($s) must be of type string, int given, called in %s on line %d 190 *** Caught {closure}(): Argument #1 ($s) must be of type string, float given, called in %s on line … 193 *** Caught {closure}(): Argument #1 ($s) must be of type string, bool given, called in %s on line %d 196 *** Caught {closure}(): Argument #1 ($s) must be of type string, bool given, called in %s on line %d 199 *** Caught {closure}(): Argument #1 ($s) must be of type string, null given, called in %s on line %d 203 *** Caught {closure}(): Argument #1 ($s) must be of type string, array given, called in %s on line … [all …]
|
/PHP-8.0/ext/ftp/tests/ |
H A D | server.inc | 59 fclose($GLOBALS['s']); 94 $buf = fread($s, 2048); 124 fputs($s, "200 OK\r\n"); 125 $buf = fread($s, 2048); 134 $buf = fread($s, 2048); 147 fclose($s); 167 fclose($s); 178 while($buf = fread($s, 4098)) { 184 fputs($s, " USER\r\n"); 185 fputs($s, " HELP\r\n"); [all …]
|