Lines Matching refs:tmp

21 		!($tmp = mysqli_fetch_assoc($res))) {
27 $version = explode('.', $tmp['server_version']);
31 $tmp['server_version']));
55 $tmp = NULL;
58 if (!is_null($tmp = @mysqli_set_charset()))
59 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
61 if (!is_null($tmp = @mysqli_set_charset($link)))
62 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
64 if (!is_null($tmp = @mysqli_set_charset($link, $link)))
65 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
71 $tmp = mysqli_fetch_assoc($res);
73 if (!$character_set_connection = $tmp['charset'])
96 $tmp = mysqli_fetch_assoc($res);
98 if ($new_charset !== $tmp['charset'])
99 printf("[015] Character set not changed? Expecting %s, got %s\n", $new_charset, $tmp['charset']);
104 while ($tmp = mysqli_fetch_assoc($res)) {
105 …if ('ucs2' == $tmp['Charset'] || 'utf16' == $tmp['Charset'] || 'utf32' == $tmp['Charset'] || 'utf1…
108 /* Uncomment to see where it hangs - var_dump($tmp); flush(); */
109 if (!@mysqli_set_charset($link, $tmp['Charset'])) {
110 printf("[017] Cannot set character set to '%s', [%d] %s\n", $tmp['Charset'],
115 /* Uncomment to see where it hangs - var_dump($tmp); flush(); */
116 …if (!mysqli_query($link, sprintf("SET NAMES %s", mysqli_real_escape_string($link, $tmp['Charset'])…
117 …printf("[018] Cannot run SET NAMES %s, [%d] %s\n", $tmp['Charset'], mysqli_errno($link), mysqli_er…
123 if (NULL !== ($tmp = mysqli_set_charset($link, $new_charset)))
124 printf("[016] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);