Lines Matching refs:tmp
12 $tmp = NULL;
15 if (false !== ($tmp = @mysql_unbuffered_query($link)))
16 printf("[001] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
20 if (NULL !== ($tmp = @mysql_unbuffered_query("SELECT 1 AS a", $link, "foo")))
21 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
23 if (false !== ($tmp = mysql_unbuffered_query('THIS IS NOT SQL', $link)))
24 printf("[003] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
26 if (false !== ($tmp = mysql_unbuffered_query("SELECT 'this is sql but with backslash g'\g", $link)))
27 printf("[004] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
46 $tmp = mysql_fetch_assoc($res);
47 if (!isset($tmp['p_version']) || ('' == $tmp['p_version'])) {
49 var_dump($tmp);
51 if ((version_compare(PHP_VERSION, '5.9.9', '>') == 1) && !is_unicode($tmp['p_version'])) {
53 var_dump($tmp);
63 $tmp = mysql_fetch_assoc($res);
64 if (!isset($tmp['f_version']) || ('' == $tmp['f_version'])) {
66 var_dump($tmp);
68 if ((version_compare(PHP_VERSION, '5.9.9', '>') == 1) && !is_unicode($tmp['f_version'])) {
70 var_dump($tmp);
84 if (false !== ($tmp = mysql_unbuffered_query("SELECT id FROM test", $link)))
85 printf("[010] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);