Lines Matching refs:tmp

19 	$tmp	= NULL;
25 if (!is_null($tmp = @$mysqli->change_user()))
26 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
28 if (!is_null($tmp = @$mysqli->change_user($link)))
29 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
31 if (!is_null($tmp = @$mysqli->change_user($link, $link)))
32 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
34 if (!is_null($tmp = @$mysqli->change_user($link, $link, $link, $link)))
35 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
37 if (false !== ($tmp = $mysqli->change_user($user . '_unknown_really', $passwd . 'non_empty', $db)))
38 printf("[006] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
40 if (false !== ($tmp = $mysqli->change_user($user, $passwd . '_unknown_really', $db)))
41 printf("[007] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
43 if (false !== ($tmp = $mysqli->change_user($user, $passwd, $db . '_unknown_really')))
44 printf("[008] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
56 $tmp = $res->fetch_assoc();
58 if (1 != $tmp['test_var'])
61 if (true !== ($tmp = $mysqli->change_user($user, $passwd, $db)))
62 printf("[012] Expecting true, got %s/%s\n", gettype($tmp), $tmp);
66 $tmp = $res->fetch_assoc();
69 if (substr($tmp['user'], 0, strlen($user)) !== $user)
70 printf("[014] Expecting user %s, got user() %s\n", $user, $tmp['user']);
71 if ($tmp['dbname'] != $db)
72 printf("[015] Expecting database %s, got database() %s\n", $db, $tmp['dbname']);
76 $tmp = $res->fetch_assoc();
78 if (NULL !== $tmp['test_var'])
83 if (NULL !== ($tmp = @$mysqli->change_user($user, $passwd, $db)))
84 printf("[018] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);