Lines Matching refs:tmp
13 $tmp = NULL;
16 if (!is_null($tmp = @mysqli_stmt_affected_rows()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
19 if (!is_null($tmp = @mysqli_stmt_affected_rows($link)))
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
38 if (0 !== ($tmp = mysqli_stmt_affected_rows($stmt)))
39 printf("[005] Expecting int/0, got %s/'%s'\n", gettype($tmp), $tmp);
55 if (1 !== ($tmp = mysqli_stmt_affected_rows($stmt)))
56 printf("[008] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
67 if (-1 !== ($tmp = mysqli_stmt_affected_rows($stmt)))
68 printf("[010] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
77 if (2 !== ($tmp = mysqli_stmt_affected_rows($stmt)))
78 printf("[012] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
87 if (2 !== ($tmp = mysqli_stmt_affected_rows($stmt)))
88 printf("[014] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
97 if (1 !== ($tmp = mysqli_stmt_affected_rows($stmt)))
98 printf("[016] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
101 !($tmp = mysqli_fetch_assoc($res)))
103 $num = (int)$tmp['num'];
113 if ($num !== ($tmp = mysqli_stmt_affected_rows($stmt)))
114 printf("[019] Expecting int/%d, got %s/%s\n", $num, gettype($tmp), $tmp);
123 if (2 !== ($tmp = mysqli_stmt_affected_rows($stmt)))
124 printf("[021] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
133 if (1 !== ($tmp = mysqli_stmt_affected_rows($stmt)))
134 printf("[023] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
143 if (1 !== ($tmp = mysqli_stmt_affected_rows($stmt)))
144 printf("[025] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
150 if (0 !== ($tmp = mysqli_stmt_affected_rows($stmt)))
151 printf("[027] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
160 if (1 !== ($tmp = mysqli_stmt_affected_rows($stmt)))
161 printf("[029] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
169 if (-1 !== ($tmp = mysqli_stmt_affected_rows($stmt)))
170 printf("[031] Expecting int/-1, got %s/%s\n", gettype($tmp), $tmp);
172 if (0 !== ($tmp = mysqli_stmt_num_rows($stmt)))
173 printf("[032] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
178 if (1 !== ($tmp = mysqli_stmt_affected_rows($stmt)))
179 printf("[034] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
181 if (1 !== ($tmp = mysqli_stmt_num_rows($stmt)))
182 printf("[035] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
193 if (-1 !== ($tmp = mysqli_stmt_affected_rows($stmt)))
194 printf("[037] Expecting int/-1, got %s/%s\n", gettype($tmp), $tmp);
196 if (true !== ($tmp = mysqli_stmt_store_result($stmt)))
197 printf("[038] Expecting boolean/true, got %s\%s\n", gettype($tmp), $tmp);
199 if (0 !== ($tmp = mysqli_stmt_num_rows($stmt)))
200 printf("[039] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
202 if (0 !== ($tmp = mysqli_stmt_affected_rows($stmt)))
203 printf("[040] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
211 if (-1 !== ($tmp = mysqli_stmt_affected_rows($stmt)))
212 printf("[042] Expecting int/-1, got %s/%s\n", gettype($tmp), $tmp);
215 if (false !== ($tmp = mysqli_stmt_store_result($stmt)))
216 printf("[043] Expecting boolean/false, got %s\%s\n", gettype($tmp), $tmp);
218 if (true !== ($tmp = mysqli_stmt_store_result($stmt)))
219 …re if the previous statement was bogus, expecting boolean/true, got %s\%s\n", gettype($tmp), $tmp);
222 if (0 !== ($tmp = mysqli_stmt_num_rows($stmt)))
223 printf("[044] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
225 if (-1 !== ($tmp = mysqli_stmt_affected_rows($stmt)))
226 printf("[045] Expecting int/-1, got %s/%s\n", gettype($tmp), $tmp);
237 if (!is_null($tmp = mysqli_stmt_affected_rows($stmt)))
238 printf("[047] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);