/PHP-7.4/ext/mysqli/tests/ |
H A D | mysqli_real_escape_string_unicode.phpt | 28 printf("[004] Expecting фу\\\\бар, got %s\n", $tmp); 31 printf("[005] Expecting бар\"фус, got %s\n", $tmp); 34 printf("[006] Expecting лала'лали, got %s\n", $tmp); 37 printf("[007] Expecting абра\\nкадабра, got %s\n", $tmp); 40 printf("[008] Expecting \\r, got %s\n", $tmp); 43 printf("[009] Expecting %s, got %s\n", "иху\\0аху", $tmp); 52 printf("[011] Expecting 富\\\\酒吧, got %s\n", $tmp); 55 printf("[012] Expecting 酒吧\"小题大做, got %s\n", $tmp); 58 printf("[013] Expecting 拉拉'西雅图, got %s\n", $tmp); 61 printf("[014] Expecting 阿卜拉\\n轻, got %s\n", $tmp); [all …]
|
H A D | mysqli_real_escape_string.phpt | 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 25 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 28 printf("[004] Expecting \\\\, got %s\n", $tmp); 31 printf("[005] Expecting \", got %s\n", $tmp); 34 printf("[006] Expecting ', got %s\n", $tmp); 37 printf("[007] Expecting \\n, got %s\n", $tmp); 40 printf("[008] Expecting \\r, got %s\n", $tmp); 43 printf("[009] Expecting %s, got %s\n", "foo\\0bar", $tmp); 48 printf("[010] Expecting false, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_data_seek_oo.phpt | 24 printf("[002] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 30 printf("[004] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 33 printf("[005] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 36 printf("[006] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 39 printf("[007] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 43 printf("[008] Expecting record 4/d, got record %s/%s\n", $row['id'], $row['label']); 46 printf("[009] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 53 printf("[011] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 56 printf("[012] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 64 printf("[014] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_data_seek.phpt | 17 printf("[001] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 23 printf("[003] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp); 30 printf("[005] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 34 printf("[006] Expecting record 4/d, got record %s/%s\n", $row['id'], $row['label']); 37 printf("[007] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 41 printf("[008] Expecting record 1/a, got record %s/%s\n", $row['id'], $row['label']); 44 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 47 printf("[010] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 55 printf("[012] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stmt_get_result_seek.phpt | 26 printf("[004] Expecting object/mysqli_result got %s/%s, [%d] %s\n", 65 printf("[011] Expecting boolean/false got %s/%s\n", gettype($tmp), $tmp); 68 printf("[012] Expecting boolean/false got %s/%s\n", gettype($tmp), $tmp); 71 printf("[013] Expecting NULL got %s/%s\n", gettype($tmp), $tmp); 82 printf("[016] Expecting id = %d for pos %d got %s/%s\n", 93 printf("[015] Expecting boolan/true got %s/%s\n", gettype($tmp), $tmp); 96 printf("[016] Expecting array got %s/%s\n", gettype($tmp), $tmp); 101 printf("[017] Expecting false got %s/%s\n", gettype($tmp), $tmp); 104 printf("[018] Expecting false got %s/%s\n", gettype($tmp), $tmp); 109 printf("[019] Expecting false got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_real_escape_string_nobackslash.phpt | 18 printf("[002] Expecting \\, got %s\n", $tmp); 21 printf("[003] Expecting \", got %s\n", $tmp); 24 printf("[004] Expecting '', got %s\n", $tmp); 27 printf("[005] Expecting \\n, got %s\n", $tmp); 30 printf("[006] Expecting \\r, got %s\n", $tmp); 34 printf("[007] Expecting %s, got %s\n", "foo" . chr(0) . "bar", $tmp); 51 printf("[012] Expecting \\, got %s\n", $tmp); 54 printf("[013] Expecting %s, got %s\n", "foo" . chr(0) . "bar", $tmp);
|
H A D | mysqli_stmt_field_count.phpt | 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 26 printf("[003] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 32 printf("[005] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 37 printf("[007] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 42 printf("[009] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 47 printf("[011] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 53 printf("[013] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 57 printf("[014] expected error - got ok\n"); 65 printf("[017] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_affected_rows.phpt | 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 23 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 30 printf("[005] Expecting int/0, got %s/%s. [%d] %s\n", 43 printf("[010] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 48 printf("[011] Expecting int/-1, got %s/%s\n", gettype($tmp), $tmp); 54 printf("[013] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 60 printf("[015] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 67 printf("[017] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 73 printf("[019] Expecting int/4, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stmt_errno.phpt | 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 29 printf("[004] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 36 printf("[006] Expecting int/any non zero, got %s/%s\n", gettype($tmp), $tmp); 43 printf("[008] Expecting zero, got %s/%s\n", gettype($tmp), $tmp); 48 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 52 printf("[010] Execting int/any non zero, got %s/%s\n", gettype($tmp), $tmp); 57 printf("[011] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_stmt_error.phpt | 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 29 printf("[004] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 36 printf("[006] Expecting string/any non empty, got %s/%s\n", gettype($tmp), $tmp); 43 printf("[008] Expecting empty string, got %s/%s\n", gettype($tmp), $tmp); 48 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 52 printf("[010] Execting string/any non empty, got %s/%s\n", gettype($tmp), $tmp); 57 printf("[011] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_stmt_affected_rows.phpt | 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 39 printf("[005] Expecting int/0, got %s/'%s'\n", gettype($tmp), $tmp); 56 printf("[008] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 68 printf("[010] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 78 printf("[012] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 88 printf("[014] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 98 printf("[016] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 124 printf("[021] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 134 printf("[023] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stmt_free_result.phpt | 22 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 25 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 34 printf("[004] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 40 printf("[006] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 46 printf("[008] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 49 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 63 printf("[013] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 66 printf("[014] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 71 printf("[015] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_stmt_attr_get.phpt | 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 23 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 28 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 44 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 48 … printf("[006] Expecting any type, but not boolean/false, got %s/%s for attribute %s/%s\n", 57 printf("[007] Expecting false, got %s/%s for attribute %s/%s\n",
|
H A D | mysqli_stat.phpt | 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 25 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 28 printf("[004] Expecting non empty string, got %s/'%s', [%d] %s\n", 34 printf("[005] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_stmt_result_metadata.phpt | 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 28 printf("[004] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 34 printf("[006] Expecting object, got %s/%s\n", gettype($tmp), $tmp); 37 printf("[007] Expecting int/2, got %s/%s, [%d] %s\n", 41 printf("[008] Expecting object, got %s/%s, [%d] %s\n", 45 printf("[009] Expecting object, got %s/%s, [%d] %s\n", 57 printf("[011] Expecting array, got %s/%s, [%d] %s\n", 69 printf("[014] Expecting object, got %s/%s, [%d] %s\n", 79 printf("[016] Expecting int/1, got %s/%s, [%d] %s\n", [all …]
|
H A D | mysqli_ssl_set.phpt | 19 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 22 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 25 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 28 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 31 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 34 printf("[006] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 47 printf("[007] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 56 printf("[008] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_affected_rows_oo.phpt | 15 printf("[000a] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 23 printf("[002] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 35 printf("[006] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 40 printf("[007] Expecting int/-1, got %s/%s\n", gettype($tmp), $tmp); 46 printf("[009] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 52 printf("[011] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 59 printf("[013] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 65 printf("[015] Expecting int/4, got %s/%s\n", gettype($tmp), $tmp); 71 printf("[016] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 77 printf("[018] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_real_escape_string_sjis.phpt | 27 printf("[004] Expecting \\\\, got %s\n", $tmp); 30 printf("[005] Expecting \", got %s\n", $tmp); 33 printf("[006] Expecting ', got %s\n", $tmp); 36 printf("[007] Expecting \\n, got %s\n", $tmp); 39 printf("[008] Expecting \\r, got %s\n", $tmp); 42 printf("[009] Expecting %s, got %s\n", "?p??\\0?p??", $tmp);
|
H A D | mysqli_warning_count.phpt | 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 25 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 31 printf("[005] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 37 printf("[007] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 42 printf("[010] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_get_warnings.phpt | 20 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 23 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 26 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 66 printf("[014] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 72 printf("[016] Expecting 2 warnings, got %d warnings", $tmp); 79 printf("[018] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 82 printf("[020] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 111 printf("[028] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 114 printf("[029] Expecting string/empty, got %s/%s\n", gettype($tmp), $tmp); 135 printf("[034] Expecting three warnings, got %d warnings\n", $i); [all …]
|
H A D | mysqli_stmt_execute.phpt | 23 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 26 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 35 printf("[004] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 42 printf("[006] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 48 printf("[008] Expecting boolean/true, got %s/%s. [%d] %s\n", 79 printf("[016] Expecting boolean/true, got %s/%s. [%d] %s\n", 87 printf("[018] Expecting int/1 got %s/%s\n", gettype($id), $id); 90 printf("[019] Expecting boolean/true, got %s/%s. [%d] %s\n", 112 printf("[025] Expecting boolean/true, got %s/%s. [%d] %s\n", 116 printf("[026] Expecting boolean/true, got %s/%s. [%d] %s\n", [all …]
|
H A D | mysqli_store_result.phpt | 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 28 printf("[004] Expecting object, got %s/%s. [%d] %s\n", 32 printf("[005] Expecting boolean/true, got %s/%s. [%d] %s\n", 41 printf("[007] Expecting boolean/false, got %s/%s. [%d] %s\n", 48 printf("[009] Expecting boolean/false, got %s/%s\n", 54 printf("[010] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_get_proto_info.phpt | 14 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 17 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 21 printf("[003] Expecting int/any_non_empty, got %s/%s\n", gettype($info), $info); 24 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_get_server_info.phpt | 14 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 17 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 21 printf("[003] Expecting string/any_non_empty, got %s/%s\n", gettype($info), $info); 24 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_stmt_attr_set.phpt | 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 23 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 26 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 45 printf("[005] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 97 printf("[007.1] max_length should be 1, got %s\n", $res); 117 printf("[008.1] max_length should be 0, got %s\n", $res); 160 printf("[013] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 163 printf("[014] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 182 printf("[016] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); [all …]
|