Lines Matching refs:tmp
13 $tmp = NULL;
16 if (!is_null($tmp = @mysqli_change_user()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
19 if (!is_null($tmp = @mysqli_change_user($link)))
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
22 if (!is_null($tmp = @mysqli_change_user($link, $link)))
23 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
25 if (!is_null($tmp = @mysqli_change_user($link, $link, $link)))
26 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
28 if (!is_null($tmp = @mysqli_change_user($link, $link, $link, $link, $link)))
29 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
35 …if (false !== ($tmp = mysqli_change_user($link, $user . '_unknown_really', $passwd . 'non_empty', …
36 printf("[007] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
38 if (false !== ($tmp = mysqli_change_user($link, $user, $passwd . '_unknown_really', $db)))
39 printf("[008] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
41 if (false !== ($tmp = mysqli_change_user($link, $user, $passwd, $db . '_unknown_really')))
42 printf("[009] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
54 $tmp = mysqli_fetch_assoc($res);
56 if (1 != $tmp['test_var'])
59 if (true !== ($tmp = mysqli_change_user($link, $user, $passwd, $db)))
60 printf("[013] Expecting true, got %s/%s\n", gettype($tmp), $tmp);
64 $tmp = mysqli_fetch_assoc($res);
67 if (substr($tmp['user'], 0, strlen($user)) !== $user)
68 printf("[015] Expecting user %s, got user() %s\n", $user, $tmp['user']);
69 if ($tmp['dbname'] != $db)
70 printf("[016] Expecting database %s, got database() %s\n", $db, $tmp['dbname']);
74 $tmp = mysqli_fetch_assoc($res);
76 if (NULL !== $tmp['test_var'])
86 …if (false !== ($tmp = mysqli_change_user($link, str_repeat('user', 16384), str_repeat('pass', 1638…
87 printf("[021] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
98 if (true !== ($tmp = mysqli_change_user($link, $user, $passwd, "")))
99 printf("[023] Expecting true, got %s/%s\n", gettype($tmp), $tmp);
103 $tmp = mysqli_fetch_assoc($res);
106 if ($tmp['dbname'] != "")
107 printf("[025] Expecting database '', got database() '%s'\n", $tmp['dbname']);
111 if (NULL !== ($tmp = @mysqli_change_user($link, $user, $passwd, $db)))
112 printf("[026] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);