Lines Matching refs:tmp
20 $tmp = NULL;
23 if (!is_null($tmp = @mysqli_change_user()))
24 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
26 if (!is_null($tmp = @mysqli_change_user($link)))
27 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
29 if (!is_null($tmp = @mysqli_change_user($link, $link)))
30 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
32 if (!is_null($tmp = @mysqli_change_user($link, $link, $link)))
33 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
35 if (!is_null($tmp = @mysqli_change_user($link, $link, $link, $link, $link)))
36 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
42 …if (false !== ($tmp = mysqli_change_user($link, $user . '_unknown_really', $passwd . 'non_empty', …
43 printf("[007] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
45 if (false !== ($tmp = mysqli_change_user($link, $user, $passwd . '_unknown_really', $db)))
46 printf("[008] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
48 if (false !== ($tmp = mysqli_change_user($link, $user, $passwd, $db . '_unknown_really')))
49 printf("[009] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
64 $tmp = mysqli_fetch_assoc($res);
66 if (1 != $tmp['test_var'])
69 if (true !== ($tmp = mysqli_change_user($link, $user, $passwd, $db)))
70 printf("[013] Expecting true, got %s/%s\n", gettype($tmp), $tmp);
74 $tmp = mysqli_fetch_assoc($res);
77 if (substr($tmp['user'], 0, strlen($user)) !== $user)
78 printf("[015] Expecting user %s, got user() %s\n", $user, $tmp['user']);
79 if ($tmp['dbname'] != $db)
80 printf("[016] Expecting database %s, got database() %s\n", $db, $tmp['dbname']);
84 $tmp = mysqli_fetch_assoc($res);
86 if (NULL !== $tmp['test_var'])
96 …if (false !== ($tmp = mysqli_change_user($link, str_repeat('user', 16384), str_repeat('pass', 1638…
97 printf("[021] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
108 if (true !== ($tmp = mysqli_change_user($link, $user, $passwd, "")))
109 printf("[023] Expecting true, got %s/%s\n", gettype($tmp), $tmp);
113 $tmp = mysqli_fetch_assoc($res);
116 if ($tmp['dbname'] != "")
117 printf("[025] Expecting database '', got database() '%s'\n", $tmp['dbname']);
121 if (NULL !== ($tmp = @mysqli_change_user($link, $user, $passwd, $db)))
122 printf("[026] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);