Lines Matching refs:tmp
13 $tmp = NULL;
16 if (!is_null($tmp = @mysqli_query()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
19 if (!is_null($tmp = @mysqli_query($link)))
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
24 if (false !== ($tmp = @mysqli_query($link, '')))
25 printf("[002a] Expecting boolean/false got %s/%s\n", gettype($tmp), $tmp);
27 if (NULL !== ($tmp = @mysqli_query($link, "SELECT 1 AS a", MYSQLI_USE_RESULT, "foo")))
28 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
30 if (false !== ($tmp = mysqli_query($link, 'THIS IS NOT SQL')))
31 printf("[004] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
33 if (false !== ($tmp = mysqli_query($link, "SELECT 'this is sql but with backslash g'\g")))
34 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
48 var_dump($tmp = mysqli_fetch_assoc($res));
49 var_dump($tmp[""]);
62 $tmp = mysqli_fetch_assoc($res);
63 if (!is_array($tmp) || empty($tmp) || !isset($tmp['p_version']) || ('' == $tmp['p_version'])) {
65 var_dump($tmp);
77 $tmp = mysqli_fetch_assoc($res);
78 if (!is_array($tmp) || empty($tmp) || !isset($tmp['f_version']) || ('' == $tmp['f_version'])) {
80 var_dump($tmp);
110 if (NULL !== ($tmp = mysqli_query($link, "SELECT id FROM test")))
111 printf("[011] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);