/php-src/ext/mysqli/tests/ |
H A D | mysqli_real_escape_string_unicode.phpt | 19 printf("[004] Expecting фу\\\\бар, got %s\n", $tmp); 22 printf("[005] Expecting бар\"фус, got %s\n", $tmp); 25 printf("[006] Expecting лала'лали, got %s\n", $tmp); 28 printf("[007] Expecting абра\\nкадабра, got %s\n", $tmp); 31 printf("[008] Expecting \\r, got %s\n", $tmp); 34 printf("[009] Expecting %s, got %s\n", "иху\\0аху", $tmp); 43 printf("[011] Expecting 富\\\\酒吧, got %s\n", $tmp); 46 printf("[012] Expecting 酒吧\"小题大做, got %s\n", $tmp); 49 printf("[013] Expecting 拉拉'西雅图, got %s\n", $tmp); 52 printf("[014] Expecting 阿卜拉\\n轻, got %s\n", $tmp); [all …]
|
H A D | mysqli_real_escape_string.phpt | 14 printf("[004] Expecting \\\\, got %s\n", $tmp); 17 printf("[005] Expecting \", got %s\n", $tmp); 20 printf("[006] Expecting ', got %s\n", $tmp); 23 printf("[007] Expecting \\n, got %s\n", $tmp); 26 printf("[008] Expecting \\r, got %s\n", $tmp); 29 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 | 19 printf("[004] Expecting \\\\, got %s\n", $tmp); 22 printf("[005] Expecting \", got %s\n", $tmp); 25 printf("[006] Expecting ', got %s\n", $tmp); 28 printf("[007] Expecting \\n, got %s\n", $tmp); 31 printf("[008] Expecting \\r, got %s\n", $tmp); 34 printf("[009] Expecting %s, got %s\n", "?p??\\0?p??", $tmp);
|
H A D | mysqli_explain_metadata.phpt | 20 printf("[002] Expecting result but got no data [%d] %s\n", 33 printf("[003] Expecting int/%d got %s/%s\n", 37 printf("[004] Expecting int/%d got %s/%s\n", 42 printf("[005] Expecting int/%d got %s/%s\n", 72 printf("[010] Expecting int/%d got %s/%s\n", 76 printf("[011] Expecting int/%d got %s/%s\n", 80 printf("[013] Expecting int/%d got %s/%s\n", 84 printf("[014] Expecting int/%d got %s/%s\n", 89 printf("[015] Expecting int/%d got %s/%s\n", 105 printf("[018] Expecting int/%d got %s/%s\n", [all …]
|
H A D | mysqli_stmt_affected_rows.phpt | 30 printf("[005] Expecting int/0, got %s/'%s'\n", gettype($tmp), $tmp); 47 printf("[008] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 59 printf("[010] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 69 printf("[012] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 79 printf("[014] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 89 printf("[016] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 115 printf("[021] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 125 printf("[023] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 135 printf("[025] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 142 printf("[027] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_affected_rows.phpt | 18 printf("[005] Expecting int/0, got %s/%s. [%d] %s\n", 31 printf("[010] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 36 printf("[011] Expecting int/-1, got %s/%s\n", gettype($tmp), $tmp); 42 printf("[013] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 48 printf("[015] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 55 printf("[017] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 61 printf("[019] Expecting int/4, got %s/%s\n", gettype($tmp), $tmp); 67 printf("[021] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 73 printf("[023] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 79 printf("[025] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_affected_rows_oo.phpt | 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); 83 printf("[020] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stmt_get_result_seek.phpt | 23 printf("[004] Expecting object/mysqli_result got %s/%s, [%d] %s\n", 28 printf("[005] Expecting 3 rows, got %s/%s rows\n", gettype($res->num_rows), $res->num_rows); 31 …printf("[006] Expecting 2 fields, got %s/%s rows\n", gettype($res->field_count), $res->field_count… 34 …printf("[006] Expecting offset 0, got %s/%s rows\n", gettype($res->current_field), $res->current_f… 68 printf("[012] Expecting boolean/false got %s/%s\n", gettype($tmp), $tmp); 77 printf("[015] Expecting boolan/true got %s/%s\n", gettype($tmp), $tmp); 80 printf("[016] Expecting id = %d for pos %d got %s/%s\n", 84 printf("[014] Expecting boolan/false got %s/%s\n", gettype($tmp), $tmp); 92 printf("[015] Expecting boolan/true got %s/%s\n", gettype($tmp), $tmp); 95 printf("[016] Expecting array got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_stmt_field_count.phpt | 33 printf("[007] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 38 printf("[009] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 43 printf("[011] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 49 printf("[013] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 54 printf("[014] expected error - got ok\n"); 60 printf("[015] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 65 printf("[017] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 72 printf("[019] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_real_escape_string_euckr.phpt | 36 printf("[004] Expecting \\\\, got %s\n", $tmp); 39 printf("[005] Expecting \", got %s\n", $tmp); 42 printf("[006] Expecting ', got %s\n", $tmp); 45 printf("[007] Expecting \\n, got %s\n", $tmp); 48 printf("[008] Expecting \\r, got %s\n", $tmp); 51 printf("[009] Expecting %s, got %s\n", "�Ǵ뼺\\0�Ǵ뼺", $tmp);
|
H A D | mysqli_real_escape_string_gb2312.phpt | 37 printf("[004] Expecting \\\\, got %s\n", $tmp); 40 printf("[005] Expecting \", got %s\n", $tmp); 43 printf("[006] Expecting ', got %s\n", $tmp); 46 printf("[007] Expecting \\n, got %s\n", $tmp); 49 printf("[008] Expecting \\r, got %s\n", $tmp); 52 printf("[009] Expecting %s, got %s\n", "����\\0����", $tmp);
|
H A D | mysqli_real_escape_string_gbk.phpt | 37 printf("[004] Expecting \\\\, got %s\n", $tmp); 40 printf("[005] Expecting \", got %s\n", $tmp); 43 printf("[006] Expecting ', got %s\n", $tmp); 46 printf("[007] Expecting \\n, got %s\n", $tmp); 49 printf("[008] Expecting \\r, got %s\n", $tmp); 52 printf("[009] Expecting %s, got %s\n", "�İ汾\\0�İ汾", $tmp);
|
H A D | mysqli_real_escape_string_eucjpms.phpt | 37 printf("[004] Expecting \\\\, got %s\n", $tmp); 40 printf("[005] Expecting \", got %s\n", $tmp); 43 printf("[006] Expecting ', got %s\n", $tmp); 46 printf("[007] Expecting \\n, got %s\n", $tmp); 49 printf("[008] Expecting \\r, got %s\n", $tmp); 52 printf("[009] Expecting %s, got %s\n", "�����Ȥ߹�碌�Ǥ�\\0�����Ȥ߹�碌�Ǥ�", $tmp);
|
H A D | mysqli_change_user_oo.phpt | 21 printf("[006] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 24 printf("[007] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 27 printf("[008] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 43 printf("[012] Expecting true, got %s/%s\n", gettype($tmp), $tmp); 51 printf("[014] Expecting user %s, got user() %s\n", $user, $tmp['user']); 53 printf("[015] Expecting database %s, got database() %s\n", $db, $tmp['dbname']); 65 printf("[018] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_stmt_execute.phpt | 37 printf("[008] Expecting boolean/true, got %s/%s. [%d] %s\n", 45 printf("[010] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 68 printf("[016] Expecting boolean/true, got %s/%s. [%d] %s\n", 76 printf("[018] Expecting int/1 got %s/%s\n", gettype($id), $id); 79 printf("[019] Expecting boolean/true, got %s/%s. [%d] %s\n", 83 printf("[020] Expecting boolean/true after reset to prepare status, got %s/%s. [%d] %s\n", 91 printf("[022] Expecting int/1 got %s/%s\n", gettype($id), $id); 101 printf("[025] Expecting boolean/true, got %s/%s. [%d] %s\n", 105 printf("[026] Expecting boolean/true, got %s/%s. [%d] %s\n", 114 printf("[027] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stmt_errno.phpt | 18 printf("[004] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 25 printf("[006] Expecting int/any non zero, got %s/%s\n", gettype($tmp), $tmp); 32 printf("[008] Expecting zero, got %s/%s\n", gettype($tmp), $tmp); 37 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 41 printf("[010] Expecting int/any non zero, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_stmt_error.phpt | 18 printf("[004] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 25 printf("[006] Expecting string/any non empty, got %s/%s\n", gettype($tmp), $tmp); 32 printf("[008] Expecting empty string, got %s/%s\n", gettype($tmp), $tmp); 37 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 41 printf("[010] Expecting string/any non empty, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_stmt_bind_param_references.phpt | 30 printf("[%03d + 3] Expecting %s/%s got %s/%s\n", 38 printf("[%03d + 4] Expecting %s/%s got %s/%s\n", 65 printf("[002] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 76 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 87 printf("[007] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 98 printf("[010] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 106 printf("[013] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 116 printf("[015] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 127 printf("[018] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); 137 printf("[021] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_data_seek.phpt | 16 printf("[005] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[006] Expecting record 4/d, got record %s/%s\n", $row['id'], $row['label']); 23 printf("[007] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 27 printf("[008] Expecting record 1/a, got record %s/%s\n", $row['id'], $row['label']); 30 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | 065.phpt | 23 printf("[003] Expecting 3/int got %s/%s\n", gettype($tmp), $tmp); 26 printf("[004] Expecting latin1/string got %s/%s\n", gettype($tmp), $tmp); 35 printf("[005] Expecting 2/int got %s/%s\n", gettype($tmp), $tmp); 38 printf("[005] Expecting gbk/string got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_stmt_get_result_metadata.phpt | 23 printf("[004] Expecting object/mysqli_result got %s/%s, [%d] %s\n", 94 printf("[015 - %d] Expecting name %s/%s got %s/%s\n", 98 printf("[016 - %d] Expecting orgname %s/%s got %s/%s\n", 102 printf("[017 - %d] Expecting table %s/%s got %s/%s\n", 106 printf("[018 - %d] Expecting orgtable %s/%s got %s/%s\n", 110 printf("[019 - %d] Expecting def %s/%s got %s/%s\n", 118 printf("[021 - %d] Expecting length %s/%s got %s/%s\n", 126 printf("[023 - %d] Expecting flags %s/%s got %s/%s\n", 130 printf("[024 - %d] Expecting type %s/%s got %s/%s\n", 175 printf("[031] Expecting %s/%s got %s/%s\n", [all …]
|
H A D | mysqli_prepare_no_object.phpt | 14 printf("[001] Expecting boolean/false, got %s/%s\n", gettype($tmp), var_export($tmp, true)); 18 printf("[002] Expecting boolean/false, got %s/%s\n", gettype($tmp), var_export($tmp, true)); 26 printf("[004] Expecting boolean/false, got %s/%s\n", gettype($tmp), var_export($tmp, true)); 30 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), var_export($tmp, true));
|
H A D | mysqli_stmt_result_metadata.phpt | 26 printf("[006] Expecting object, got %s/%s\n", gettype($res), $res); 29 printf("[007] Expecting int/2, got %s/%s, [%d] %s\n", 33 printf("[008] Expecting object, got %s/%s, [%d] %s\n", 37 printf("[009] Expecting object, got %s/%s, [%d] %s\n", 59 printf("[014] Expecting object, got %s/%s, [%d] %s\n", 69 printf("[016] Expecting int/1, got %s/%s, [%d] %s\n",
|
/php-src/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", 25 printf("[003] Expecting '0'/string got '%s'/%s", var_export($tmp, true), gettype($tmp)); 29 printf("[004] Expecting '0'/string got '%s'/%s", var_export($tmp, true), gettype($tmp)); 33 printf("[005] Expecting '0'/string got '%s'/%s", var_export($tmp, true), gettype($tmp)); 38 printf("[006] Expecting '0'/string got '%s'/%s", var_export($tmp, true), gettype($tmp)); 42 printf("[006] Expecting '0'/string got '%s'/%s", var_export($tmp, true), gettype($tmp)); 47 printf("[007] Expecting '0'/string got '%s'/%s", var_export($tmp, true), gettype($tmp)); 59 printf("[009] Expecting at least 102, got %d\n",$next_id); 72 printf("[011] Expecting at least %d, got %d\n", $last_id + 1, $next_id); [all …]
|