Lines Matching refs:tmp
20 …if (false !== ($tmp = $mysqli->change_user($user . '_unknown_really', $passwd . 'non_empty', $db)))
21 printf("[006] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
23 if (false !== ($tmp = $mysqli->change_user($user, $passwd . '_unknown_really', $db)))
24 printf("[007] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
26 if (false !== ($tmp = $mysqli->change_user($user, $passwd, $db . '_unknown_really')))
27 printf("[008] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
37 $tmp = $res->fetch_assoc();
39 if (1 != $tmp['test_var'])
42 if (true !== ($tmp = $mysqli->change_user($user, $passwd, $db)))
43 printf("[012] Expecting true, got %s/%s\n", gettype($tmp), $tmp);
47 $tmp = $res->fetch_assoc();
50 if (substr($tmp['user'], 0, strlen($user)) !== $user)
51 printf("[014] Expecting user %s, got user() %s\n", $user, $tmp['user']);
52 if ($tmp['dbname'] != $db)
53 printf("[015] Expecting database %s, got database() %s\n", $db, $tmp['dbname']);
57 $tmp = $res->fetch_assoc();
59 if (NULL !== $tmp['test_var'])
64 if (false !== ($tmp = @$mysqli->change_user($user, $passwd, $db)))
65 printf("[018] Expecting false, got %s/%s\n", gettype($tmp), $tmp);