Lines Matching refs:tmp

25 				$tmp = $db->errorInfo();
28 ($error_info['prepare']['sqlstate'] !== $tmp[0])) {
30 $offset, $error_info['prepare']['sqlstate'], $tmp[0]);
35 ($error_info['prepare']['mysql'] !== $tmp[1])) {
37 $offset, $error_info['prepare']['mysql'], $tmp[0]);
60 $tmp = $stmt->errorInfo();
61 if (isset($tmp[1]) && ($tmp[1] == 2030)) {
70 ($error_info['execute']['sqlstate'] !== $tmp[0])) {
72 $offset, $error_info['execute']['sqlstate'], $tmp[0]);
77 ($error_info['execute']['mysql'] !== $tmp[1])) {
79 $offset, $error_info['execute']['mysql'], $tmp[0]);
150 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 2)
151 printf("[017] '1' IS NOT NULL evaluates to true, expecting two rows, got %d rows\n", $tmp);
155 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 0)
156 printf("[019] '1' IS NOT NULL evaluates to true, expecting zero rows, got %d rows\n", $tmp);
171 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 2)
172 printf("[033] Expecting two rows, got %d rows\n", $tmp);
175 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 2)
176 printf("[027] Expecting two rows, got %d rows\n", $tmp);
178 if ($tmp[0]['label'] !== 'MySQL is the best database in the world!') {
180 var_dump($tmp);
192 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 0)
193 printf("[030] Expecting zero rows, got %d rows\n", $tmp);
198 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 1)
199 printf("[032] Expecting one row, got %d rows\n", $tmp);
237 $tmp = $stmt->fetchAll(PDO::FETCH_ASSOC);
254 if ($tmp !== $exp) {
257 var_dump($tmp);
262 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 2)
263 printf("[048] '1' IS NOT NULL evaluates to true, expecting two rows, got %d rows\n", $tmp);
267 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 0)
268 printf("[050] '1' IS NOT NULL evaluates to true, expecting zero rows, got %d rows\n", $tmp);
281 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 2)
282 printf("[074] Expecting two rows, got %d rows\n", $tmp);
299 $tmp = $stmt->fetchAll(PDO::FETCH_ASSOC);
308 if ($tmp !== $exp) {
311 var_dump($tmp);
317 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 0)
318 printf("[061] Expecting zero rows, got %d rows\n", $tmp);
323 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 2)
324 printf("[062] Expecting two rows, got %d rows\n", $tmp);
328 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 1)
329 printf("[064] Expecting one row, got %d rows\n", $tmp);