Lines Matching refs:tmp

17 		!($tmp = mysqli_fetch_assoc($res))) {
23 $version = explode('.', $tmp['server_version']);
27 $tmp['server_version']));
51 $tmp = NULL;
54 if (!is_null($tmp = @mysqli_set_charset()))
55 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
57 if (!is_null($tmp = @mysqli_set_charset($link)))
58 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
60 if (!is_null($tmp = @mysqli_set_charset($link, $link)))
61 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
67 $tmp = mysqli_fetch_assoc($res);
69 if (!$character_set_connection = $tmp['charset'])
92 $tmp = mysqli_fetch_assoc($res);
94 if ($new_charset !== $tmp['charset'])
95 printf("[015] Character set not changed? Expecting %s, got %s\n", $new_charset, $tmp['charset']);
100 while ($tmp = mysqli_fetch_assoc($res)) {
101 …if ('ucs2' == $tmp['Charset'] || 'utf16' == $tmp['Charset'] || 'utf32' == $tmp['Charset'] || 'utf1…
104 /* Uncomment to see where it hangs - var_dump($tmp); flush(); */
105 if (!@mysqli_set_charset($link, $tmp['Charset'])) {
106 printf("[017] Cannot set character set to '%s', [%d] %s\n", $tmp['Charset'],
111 /* Uncomment to see where it hangs - var_dump($tmp); flush(); */
112 …if (!mysqli_query($link, sprintf("SET NAMES %s", mysqli_real_escape_string($link, $tmp['Charset'])…
113 …printf("[018] Cannot run SET NAMES %s, [%d] %s\n", $tmp['Charset'], mysqli_errno($link), mysqli_er…
119 if (false !== ($tmp = mysqli_set_charset($link, $new_charset)))
120 printf("[019] Expecting false, got %s/%s\n", gettype($tmp), $tmp);