Lines Matching refs:tmp
23 $tmp = $db->errorInfo();
26 ($error_info['prepare']['sqlstate'] !== $tmp[0])) {
28 $offset, $error_info['prepare']['sqlstate'], $tmp[0]);
33 ($error_info['prepare']['mysql'] !== $tmp[1])) {
35 $offset, $error_info['prepare']['mysql'], $tmp[0]);
58 $tmp = $stmt->errorInfo();
59 if (isset($tmp[1]) && ($tmp[1] == 2030)) {
68 ($error_info['execute']['sqlstate'] !== $tmp[0])) {
70 $offset, $error_info['execute']['sqlstate'], $tmp[0]);
75 ($error_info['execute']['mysql'] !== $tmp[1])) {
77 $offset, $error_info['execute']['mysql'], $tmp[0]);
116 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 2)
117 printf("[033] Expecting two rows, got %d rows\n", $tmp);
120 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 2)
121 printf("[027] Expecting two rows, got %d rows\n", $tmp);
123 if ($tmp[0]['label'] !== 'MySQL is the best database in the world!') {
125 var_dump($tmp);
136 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 0)
137 printf("[030] Expecting zero rows, got %d rows\n", $tmp);
142 if (count(($tmp = $stmt->fetchAll(PDO::FETCH_ASSOC))) != 1)
143 printf("[032] Expecting one row, got %d rows\n", $tmp);