/PHP-8.1/ext/mysqli/tests/ |
H A D | mysqli_real_escape_string_unicode.phpt | 16 printf("[004] Expecting фу\\\\бар, got %s\n", $tmp); 19 printf("[005] Expecting бар\"фус, got %s\n", $tmp); 22 printf("[006] Expecting лала'лали, got %s\n", $tmp); 28 printf("[008] Expecting \\r, got %s\n", $tmp); 31 printf("[009] Expecting %s, got %s\n", "иху\\0аху", $tmp); 36 printf("[010] Expecting %s, got %s\n", $exp, $tmp, var_dump($exp, $tmp)); 40 printf("[011] Expecting 富\\\\酒吧, got %s\n", $tmp); 46 printf("[013] Expecting 拉拉'西雅图, got %s\n", $tmp); 49 printf("[014] Expecting 阿卜拉\\n轻, got %s\n", $tmp); 55 printf("[016] Expecting %s, got %s\n", "竺可桢\\0空调器", $tmp); [all …]
|
H A D | mysqli_select_db.phpt | 15 …f("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 20 … printf("[005] Cannot select DB %s, [%d] %s\n", $db, mysqli_errno($link), mysqli_error($link)); 23 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 26 printf("[007] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 29 printf("[008] Expecting database '%s', found '%s'\n", $db, $row['dbname']); 48 printf("[012] Failed to set '%s' as current DB; [%d] %s\n", $link->errno, $link->error); 51 printf("[013] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 54 printf("[014] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 68 …ATE: 42000 (ER_DBACCESS_DENIED_ERROR) Message: Access denied for user '%s'@'%s' to database '%s' */ 69 …E: 28000 (ER_ACCESS_DENIED_ERROR) Message: Access denied for user '%s'@'%s' (using password: %s) */ [all …]
|
H A D | mysqli_prepare_no_object.phpt | 14 …printf("[001] Expecting boolean/false, got %s/%s\n", gettype($tmp), (is_object($tmp) ? var_dump($t… 15 printf("a) [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 18 …printf("[002] Expecting boolean/false, got %s/%s\n", gettype($tmp), (is_object($tmp) ? var_dump($t… 19 printf("b) [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 24 …f("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 28 …printf("[004] Expecting boolean/false, got %s/%s\n", gettype($tmp), (is_object($tmp) ? var_dump($t… 29 printf("c) [%d] %s\n", $mysqli->errno, $mysqli->error); 32 …printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), (is_object($tmp) ? var_dump($t… 33 printf("c) [%d] %s\n", $mysqli->errno, $mysqli->error);
|
H A D | mysqli_stmt_get_result2.phpt | 23 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 26 printf("[005] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 32 printf("[007] Expecting object/mysqli_result got %s/%s, [%d] %s\n", 41 printf("[008] boolean/false got %s/%s, [%d] %s\n", 47 printf("[009] Expecting object/mysqli_result got %s/%s, [%d] %s\n", 70 printf("[013] boolean/false got %s/%s, [%d] %s\n", 82 printf("[015] Expecting object/mysqli_result got %s/%s, [%d] %s\n", 101 printf("[019] Expecting object/mysqli_result got %s/%s, [%d] %s\n", 122 printf("[023] Expecting object/mysqli_result got %s/%s, [%d] %s\n", 126 printf("[024] Unknown result set type %s\n", $res->type); [all …]
|
H A D | mysqli_stmt_get_result_types.phpt | 16 printf("[001] [%d] %s\n", mysqli_connect_errno(), mysqli_connect_error()); 25 …ysqli_query($link, sprintf("CREATE TABLE test(id INT, label %s, PRIMARY KEY(id)) ENGINE = %s", $sq… 84 printf("[%04d] [%d] Expecting %s/'%s' [type hint = %s], got %s/'%s'\n", 184 func_mysqli_stmt_get_result($link, $engine, "s", "DATE", NULL, 880); 186 func_mysqli_stmt_get_result($link, $engine, "s", "DATETIME", @date('Y-m-d H:i:s'), 900); 187 … func_mysqli_stmt_get_result($link, $engine, "s", "DATETIME NOT NULL", @date('Y-m-d H:i:s'), 920); 190 func_mysqli_stmt_get_result($link, $engine, "s", "TIMESTAMP", @date('Y-m-d H:i:s'), 960); 192 func_mysqli_stmt_get_result($link, $engine, "s", "TIME", @date('H:i:s'), 980); 193 func_mysqli_stmt_get_result($link, $engine, "s", "TIME NOT NULL", @date('H:i:s'), 1000); 194 func_mysqli_stmt_get_result($link, $engine, "s", "TIME", NULL, 1020); [all …]
|
H A D | mysqli_stmt_bind_result.phpt | 41 printf("[006] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 66 …ysqli_query($link, sprintf("CREATE TABLE test(id INT, label %s, PRIMARY KEY(id)) ENGINE = %s", $sq… 125 printf("[%04d] [%d] Expecting %s/'%s' [type hint = %s], got %s/'%s'\n", 222 func_mysqli_stmt_bind_result($link, $engine, "s", "DATE", NULL, 880); 224 func_mysqli_stmt_bind_result($link, $engine, "s", "DATETIME", @date('Y-m-d H:i:s'), 900); 225 … func_mysqli_stmt_bind_result($link, $engine, "s", "DATETIME NOT NULL", @date('Y-m-d H:i:s'), 920); 228 func_mysqli_stmt_bind_result($link, $engine, "s", "TIMESTAMP", @date('Y-m-d H:i:s'), 960); 230 func_mysqli_stmt_bind_result($link, $engine, "s", "TIME", @date('H:i:s'), 980); 231 func_mysqli_stmt_bind_result($link, $engine, "s", "TIME NOT NULL", @date('H:i:s'), 1000); 232 func_mysqli_stmt_bind_result($link, $engine, "s", "TIME", NULL, 1020); [all …]
|
H A D | mysqli_pam_sha256_public_key_option_invalid.phpt | 50 $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_report_new.phpt | 10 …tf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 36 …f("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, sock… 48 Warning: mysqli_change_user(): (%d/%d): Access denied for user '%s'@'%s' (using password: %s) in %s…
|
/PHP-8.1/ext/filter/tests/ |
H A D | 033_run.inc | 28 printf("%-20s",$filter); 29 printf("%-5s",$result[0]); 30 printf("%-3s",$result[1]); 31 printf("%-15s",$result[2]); 32 printf("%-20s",$result[3]); 33 printf("%-10s",$result[4]); 34 printf("%-5s",$result[5]); 35 printf("%-20s",$result[6]); 36 printf("%-15s",$result[7]); 37 printf("%-10s",$result[8]); [all …]
|
/PHP-8.1/Zend/tests/ |
H A D | bug60573.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(self $s) { } 58 Fatal error: Declaration of Bar4::setSelf(Bar4 $s) must be compatible with Foo4::setSelf(Foo4 $s) i…
|
/PHP-8.1/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.1/ext/oci8/tests/ |
H A D | lob_029.phpt | 33 @oci_execute($s); 36 @oci_execute($s); 39 oci_execute($s); 46 oci_execute($s); 49 oci_execute($s); 52 oci_execute($s); 55 oci_execute($s); 62 oci_execute($s); 68 oci_execute($s); 77 oci_execute($s); [all …]
|
H A D | bind_query.phpt | 28 oci_bind_by_name( $s, ":eno", $e, -1, SQLT_INT); 29 oci_execute($s); 30 var_dump(oci_fetch_row($s)); 36 oci_bind_by_name( $s, ":v", $v); 37 oci_define_by_name($s, "ENAME", $ename, 20); 38 oci_execute($s); 39 while (oci_fetch($s)) { 47 oci_bind_by_name( $s, ":v", $v); 49 oci_define_by_name($s, "ENAME", $ename, 20); 50 oci_execute($s); [all …]
|
H A D | bind_char_3.phpt | 37 do_e($s); 45 do_e($s); 54 do_e($s); 64 do_e($s); 73 do_e($s); 82 do_e($s); 91 do_e($s); 102 do_e($s); 110 do_e($s); 120 do_e($s); [all …]
|
H A D | bind_char_4.phpt | 39 do_e($s); 47 do_e($s); 56 do_e($s); 66 do_e($s); 75 do_e($s); 84 do_e($s); 93 do_e($s); 104 do_e($s); 112 do_e($s); 122 do_e($s); [all …]
|
H A D | bind_char_3_11gR1.phpt | 37 do_e($s); 45 do_e($s); 54 do_e($s); 64 do_e($s); 73 do_e($s); 82 do_e($s); 91 do_e($s); 102 do_e($s); 110 do_e($s); 120 do_e($s); [all …]
|
H A D | bind_char_4_11gR1.phpt | 39 do_e($s); 47 do_e($s); 56 do_e($s); 66 do_e($s); 75 do_e($s); 84 do_e($s); 93 do_e($s); 104 do_e($s); 112 do_e($s); 122 do_e($s); [all …]
|
/PHP-8.1/ext/session/tests/ |
H A D | session_set_save_handler_variation4.phpt | 52 Open [%s,PHPSESSID] 53 Read [%s,%s] 64 Write [%s,%s,Blah|s:12:"Hello World!";Foo|b:0;Guff|i:1234567890;] 65 Close [%s,PHPSESSID] 67 Open [%s,PHPSESSID] 68 Read [%s,%s] 79 Destroy [%s,%s] 81 Warning: unlink(%s): No such file or directory in %s on line %d 82 Close [%s,PHPSESSID]
|
/PHP-8.1/Zend/ |
H A D | zend_smart_str.h | 81 char *ret = ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s); in smart_str_extend_ex() 87 if (str->s) { in smart_str_free_ex() 89 str->s = NULL; in smart_str_free_ex() 95 if (str->s) { in smart_str_0() 96 ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; in smart_str_0() 101 return str->s ? ZSTR_LEN(str->s) : 0; in smart_str_get_len() 105 if (str->s) { in smart_str_extract() 108 res = str->s; in smart_str_extract() 109 str->s = NULL; in smart_str_extract() 124 memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); in smart_str_appendl_ex() [all …]
|
/PHP-8.1/ext/mysqlnd/ |
H A D | mysqlnd_ps.c | 75 MYSQLND_STMT_DATA * stmt = s? s->data : NULL; in MYSQLND_METHOD() 145 MYSQLND_STMT_DATA * stmt = s? s->data : NULL; in MYSQLND_METHOD() 213 MYSQLND_STMT_DATA * stmt = s? s->data : NULL; in MYSQLND_METHOD() 226 MYSQLND_STMT_DATA * stmt = s? s->data : NULL; in MYSQLND_METHOD() 242 s->m->free_stmt_result(s); in MYSQLND_METHOD() 594 s->m->free_stmt_content(s); in mysqlnd_stmt_execute_parse_response() 649 s->m->flush(s); in MYSQLND_METHOD() 927 s->m->flush(s); in MYSQLND_METHOD() 1303 s->m->free_result_bind(s, result_bind); in MYSQLND_METHOD() 1757 s->m->free_stmt_result(s); in MYSQLND_METHOD() [all …]
|
/PHP-8.1/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.1/Zend/tests/list/ |
H A D | list_reference_006.phpt | 6 private $s = []; 7 function __construct(array $a) { $this->s = $a; } 8 function offsetSet ($k, $v): void { $this->s[$k] = $v; } 9 function offsetGet ($k): mixed { return $this->s[$k]; } 11 function offsetUnset ($k): void { unset($this->s[$k]); } 27 Notice: Indirect modification of overloaded element of %s has no effect in %s on line %d 29 ["s":"StorageNoRef":private]=> 38 Warning: Undefined array key 2 in %s on line %d 40 ["s":"StorageNoRef":private]=> 49 Notice: Indirect modification of overloaded element of %s has no effect in %s on line %d [all …]
|
/PHP-8.1/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 …]
|