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);
51 $tmp = $res->fetch_assoc();
53 if (1 != $tmp['test_var'])
56 if (true !== ($tmp = $mysqli->change_user($user, $passwd, $db)))
57 printf("[012] Expecting true, got %s/%s\n", gettype($tmp), $tmp);
61 $tmp = $res->fetch_assoc();
64 if (substr($tmp['user'], 0, strlen($user)) !== $user)
65 printf("[014] Expecting user %s, got user() %s\n", $user, $tmp['user']);
66 if ($tmp['dbname'] != $db)
67 printf("[015] Expecting database %s, got database() %s\n", $db, $tmp['dbname']);
71 $tmp = $res->fetch_assoc();
73 if (NULL !== $tmp['test_var'])
78 if (NULL !== ($tmp = @$mysqli->change_user($user, $passwd, $db)))
79 printf("[018] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);