/PHP-8.0/ext/mysqli/tests/ |
H A D | mysqli_real_escape_string_unicode.phpt | 15 printf("[004] Expecting фу\\\\бар, got %s\n", $tmp); 18 printf("[005] Expecting бар\"фус, got %s\n", $tmp); 21 printf("[006] Expecting лала'лали, got %s\n", $tmp); 24 printf("[007] Expecting абра\\nкадабра, got %s\n", $tmp); 27 printf("[008] Expecting \\r, got %s\n", $tmp); 30 printf("[009] Expecting %s, got %s\n", "иху\\0аху", $tmp); 39 printf("[011] Expecting 富\\\\酒吧, got %s\n", $tmp); 42 printf("[012] Expecting 酒吧\"小题大做, got %s\n", $tmp); 45 printf("[013] Expecting 拉拉'西雅图, got %s\n", $tmp); 48 printf("[014] Expecting 阿卜拉\\n轻, got %s\n", $tmp); [all …]
|
H A D | mysqli_real_escape_string.phpt | 15 printf("[004] Expecting \\\\, got %s\n", $tmp); 18 printf("[005] Expecting \", got %s\n", $tmp); 21 printf("[006] Expecting ', got %s\n", $tmp); 24 printf("[007] Expecting \\n, got %s\n", $tmp); 27 printf("[008] Expecting \\r, got %s\n", $tmp); 30 printf("[009] Expecting %s, got %s\n", "foo\\0bar", $tmp);
|
H A D | mysqli_real_escape_string_nobackslash.phpt | 17 printf("[002] Expecting \\, got %s\n", $tmp); 20 printf("[003] Expecting \", got %s\n", $tmp); 23 printf("[004] Expecting '', got %s\n", $tmp); 26 printf("[005] Expecting \\n, got %s\n", $tmp); 29 printf("[006] Expecting \\r, got %s\n", $tmp); 33 printf("[007] Expecting %s, got %s\n", "foo" . chr(0) . "bar", $tmp); 50 printf("[012] Expecting \\, got %s\n", $tmp); 53 printf("[013] Expecting %s, got %s\n", "foo" . chr(0) . "bar", $tmp);
|
H A D | mysqli_real_escape_string_sjis.phpt | 26 printf("[004] Expecting \\\\, got %s\n", $tmp); 29 printf("[005] Expecting \", got %s\n", $tmp); 32 printf("[006] Expecting ', got %s\n", $tmp); 35 printf("[007] Expecting \\n, got %s\n", $tmp); 38 printf("[008] Expecting \\r, got %s\n", $tmp); 41 printf("[009] Expecting %s, got %s\n", "?p??\\0?p??", $tmp);
|
H A D | mysqli_get_warnings.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("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 65 printf("[014] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 71 printf("[016] Expecting 2 warnings, got %d warnings", $tmp); 78 printf("[018] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 81 printf("[020] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 110 printf("[028] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 113 printf("[029] Expecting string/empty, got %s/%s\n", gettype($tmp), $tmp); 134 printf("[034] Expecting three warnings, got %d warnings\n", $i); [all …]
|
H A D | mysqli_affected_rows.phpt | 17 printf("[005] Expecting int/0, got %s/%s. [%d] %s\n", 30 printf("[010] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 35 printf("[011] Expecting int/-1, got %s/%s\n", gettype($tmp), $tmp); 41 printf("[013] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 47 printf("[015] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 54 printf("[017] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 60 printf("[019] Expecting int/4, got %s/%s\n", gettype($tmp), $tmp); 66 printf("[021] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 72 printf("[023] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 78 printf("[025] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_explain_metadata.phpt | 36 printf("[003] Expecting int/%d got %s/%s\n", 40 printf("[004] Expecting int/%d got %s/%s\n", 45 printf("[005] Expecting int/%d got %s/%s\n", 75 printf("[010] Expecting int/%d got %s/%s\n", 79 printf("[011] Expecting int/%d got %s/%s\n", 83 printf("[013] Expecting int/%d got %s/%s\n", 87 printf("[014] Expecting int/%d got %s/%s\n", 92 printf("[015] Expecting int/%d got %s/%s\n", 109 printf("[018] Expecting int/%d got %s/%s\n", 116 printf("[020] Expecting int/%d got %s/%s\n", [all …]
|
H A D | mysqli_stmt_affected_rows.phpt | 29 printf("[005] Expecting int/0, got %s/'%s'\n", gettype($tmp), $tmp); 46 printf("[008] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 58 printf("[010] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 68 printf("[012] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 78 printf("[014] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 88 printf("[016] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 114 printf("[021] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 124 printf("[023] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 134 printf("[025] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 141 printf("[027] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_affected_rows_oo.phpt | 25 printf("[002] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 37 printf("[006] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 42 printf("[007] Expecting int/-1, got %s/%s\n", gettype($tmp), $tmp); 48 printf("[009] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 54 printf("[011] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 61 printf("[013] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 67 printf("[015] Expecting int/4, got %s/%s\n", gettype($tmp), $tmp); 73 printf("[016] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 79 printf("[018] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 85 printf("[020] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stmt_field_count.phpt | 34 printf("[007] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 39 printf("[009] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 44 printf("[011] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 50 printf("[013] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 55 printf("[014] expected error - got ok\n"); 61 printf("[015] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 66 printf("[017] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 73 printf("[019] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | 071.phpt | 20 … printf("[001] Expecting boolean/true got %s/%s\n", gettype($ret), var_export($ret, true)); 27 …printf("[001] Expecting boolean/true got %s/%s @\n", gettype($ret), var_export($ret, true), $versi… 31 …printf("[001] Expecting boolean/false got %s/%s @\n", gettype($ret), var_export($ret, true), $vers… 47 … printf("[002] Expecting boolean/true got %s/%s\n", gettype($ret), var_export($ret, true)); 54 …printf("[002] Expecting boolean/true got %s/%s @\n", gettype($ret), var_export($ret, true), $versi… 58 …printf("[002] Expecting boolean/false got %s/%s @\n", gettype($ret), var_export($ret, true), $vers…
|
H A D | mysqli_stmt_get_result_seek.phpt | 25 printf("[004] Expecting object/mysqli_result got %s/%s, [%d] %s\n", 30 printf("[005] Expecting 3 rows, got %s/%s rows\n", gettype($res->num_rows), $res->num_rows); 33 …printf("[006] Expecting 2 fields, got %s/%s rows\n", gettype($res->field_count), $res->field_count… 36 …printf("[006] Expecting offset 0, got %s/%s rows\n", gettype($res->current_field), $res->current_f… 70 printf("[012] Expecting boolean/false got %s/%s\n", gettype($tmp), $tmp); 79 printf("[015] Expecting boolan/true got %s/%s\n", gettype($tmp), $tmp); 82 printf("[016] Expecting id = %d for pos %d got %s/%s\n", 86 printf("[014] Expecting boolan/false got %s/%s\n", gettype($tmp), $tmp); 94 printf("[015] Expecting boolan/true got %s/%s\n", gettype($tmp), $tmp); 97 printf("[016] Expecting array got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_real_escape_string_eucjpms.phpt | 43 printf("[004] Expecting \\\\, got %s\n", $tmp); 46 printf("[005] Expecting \", got %s\n", $tmp); 49 printf("[006] Expecting ', got %s\n", $tmp); 52 printf("[007] Expecting \\n, got %s\n", $tmp); 55 printf("[008] Expecting \\r, got %s\n", $tmp); 58 printf("[009] Expecting %s, got %s\n", "�����Ȥ߹�碌�Ǥ�\\0�����Ȥ߹�碌�Ǥ�", $tmp);
|
H A D | mysqli_real_escape_string_euckr.phpt | 42 printf("[004] Expecting \\\\, got %s\n", $tmp); 45 printf("[005] Expecting \", got %s\n", $tmp); 48 printf("[006] Expecting ', got %s\n", $tmp); 51 printf("[007] Expecting \\n, got %s\n", $tmp); 54 printf("[008] Expecting \\r, got %s\n", $tmp); 57 printf("[009] Expecting %s, got %s\n", "�Ǵ뼺\\0�Ǵ뼺", $tmp);
|
H A D | mysqli_real_escape_string_gb2312.phpt | 43 printf("[004] Expecting \\\\, got %s\n", $tmp); 46 printf("[005] Expecting \", got %s\n", $tmp); 49 printf("[006] Expecting ', got %s\n", $tmp); 52 printf("[007] Expecting \\n, got %s\n", $tmp); 55 printf("[008] Expecting \\r, got %s\n", $tmp); 58 printf("[009] Expecting %s, got %s\n", "����\\0����", $tmp);
|
H A D | mysqli_real_escape_string_gbk.phpt | 43 printf("[004] Expecting \\\\, got %s\n", $tmp); 46 printf("[005] Expecting \", got %s\n", $tmp); 49 printf("[006] Expecting ', got %s\n", $tmp); 52 printf("[007] Expecting \\n, got %s\n", $tmp); 55 printf("[008] Expecting \\r, got %s\n", $tmp); 58 printf("[009] Expecting %s, got %s\n", "�İ汾\\0�İ汾", $tmp);
|
H A D | mysqli_stmt_errno.phpt | 19 printf("[004] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 26 printf("[006] Expecting int/any non zero, got %s/%s\n", gettype($tmp), $tmp); 33 printf("[008] Expecting zero, got %s/%s\n", gettype($tmp), $tmp); 38 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 42 printf("[010] Expecting int/any non zero, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_stmt_error.phpt | 19 printf("[004] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 26 printf("[006] Expecting string/any non empty, got %s/%s\n", gettype($tmp), $tmp); 33 printf("[008] Expecting empty string, got %s/%s\n", gettype($tmp), $tmp); 38 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 42 printf("[010] Expecting string/any non empty, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_stmt_execute.phpt | 44 printf("[008] Expecting boolean/true, got %s/%s. [%d] %s\n", 52 printf("[010] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 75 printf("[016] Expecting boolean/true, got %s/%s. [%d] %s\n", 83 printf("[018] Expecting int/1 got %s/%s\n", gettype($id), $id); 86 printf("[019] Expecting boolean/true, got %s/%s. [%d] %s\n", 90 printf("[020] Expecting boolean/true after reset to prepare status, got %s/%s. [%d] %s\n", 98 printf("[022] Expecting int/1 got %s/%s\n", gettype($id), $id); 108 printf("[025] Expecting boolean/true, got %s/%s. [%d] %s\n", 112 printf("[026] Expecting boolean/true, got %s/%s. [%d] %s\n", 121 printf("[027] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stmt_result_metadata.phpt | 27 printf("[006] Expecting object, got %s/%s\n", gettype($tmp), $tmp); 30 printf("[007] Expecting int/2, got %s/%s, [%d] %s\n", 34 printf("[008] Expecting object, got %s/%s, [%d] %s\n", 38 printf("[009] Expecting object, got %s/%s, [%d] %s\n", 50 printf("[011] Expecting array, got %s/%s, [%d] %s\n", 62 printf("[014] Expecting object, got %s/%s, [%d] %s\n", 72 printf("[016] Expecting int/1, got %s/%s, [%d] %s\n",
|
H A D | mysqli_data_seek.phpt | 17 printf("[005] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 21 printf("[006] Expecting record 4/d, got record %s/%s\n", $row['id'], $row['label']); 24 printf("[007] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 28 printf("[008] Expecting record 1/a, got record %s/%s\n", $row['id'], $row['label']); 31 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_stmt_bind_param_references.phpt | 29 printf("[%03d + 3] Expecting %s/%s got %s/%s\n", 37 printf("[%03d + 4] Expecting %s/%s got %s/%s\n", 64 printf("[002] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 75 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 86 printf("[007] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 97 printf("[010] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 105 printf("[013] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 115 printf("[015] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 126 printf("[018] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 136 printf("[021] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stmt_attr_set.phpt | 70 printf("[007.1] max_length should be 1, got %s\n", $res); 90 printf("[008.1] max_length should be 0, got %s\n", $res); 120 printf("[011] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 123 printf("[012] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 126 printf("[013] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 129 printf("[014] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 148 printf("[016] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 165 printf("[018] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 194 printf("[020] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 209 printf("[022] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stmt_get_result_metadata.phpt | 96 printf("[015 - %d] Expecting name %s/%s got %s/%s\n", 100 printf("[016 - %d] Expecting orgname %s/%s got %s/%s\n", 104 printf("[017 - %d] Expecting table %s/%s got %s/%s\n", 108 printf("[018 - %d] Expecting orgtable %s/%s got %s/%s\n", 112 printf("[019 - %d] Expecting def %s/%s got %s/%s\n", 120 printf("[021 - %d] Expecting length %s/%s got %s/%s\n", 128 printf("[023 - %d] Expecting flags %s/%s got %s/%s\n", 132 printf("[024 - %d] Expecting type %s/%s got %s/%s\n", 136 printf("[025 - %d] Expecting decimals %s/%s got %s/%s\n", 177 printf("[031] Expecting %s/%s got %s/%s\n", [all …]
|
/PHP-8.0/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_last_insert_id.phpt | 17 … printf("[001] No query has been run, lastInsertId() should return '0'/string got '%s'/%s\n", 21 printf("[002] MySQL does not support sequences, expecting '0'/string got '%s'/%s\n", 26 printf("[003] Expecting '0'/string got '%s'/%s", var_export($tmp, true), gettype($tmp)); 30 printf("[004] Expecting '0'/string got '%s'/%s", var_export($tmp, true), gettype($tmp)); 34 printf("[005] Expecting '0'/string got '%s'/%s", var_export($tmp, true), gettype($tmp)); 39 printf("[006] Expecting '0'/string got '%s'/%s", var_export($tmp, true), gettype($tmp)); 43 printf("[006] Expecting '0'/string got '%s'/%s", var_export($tmp, true), gettype($tmp)); 48 printf("[007] Expecting '0'/string got '%s'/%s", var_export($tmp, true), gettype($tmp)); 60 printf("[009] Expecting at least 102, got %d\n",$next_id); 73 printf("[011] Expecting at least %d, got %d\n", $last_id + 1, $next_id); [all …]
|