Lines Matching refs:tmp

21 	$tmp	= NULL;
24 if (!is_null($tmp = @mysqli_stmt_get_result()))
25 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
27 if (!is_null($tmp = @mysqli_stmt_get_result($link)))
28 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
36 if (NULL !== ($tmp = mysqli_stmt_fetch($stmt)))
37 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
43 if ((NULL !== ($tmp = mysqli_stmt_get_result($stmt))) && (false !== $tmp))
44 printf("[006] Expecting NULL or boolean/false, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
52 if (is_object($tmp = mysqli_stmt_store_result($stmt)))
53 printf("[009] non-object, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
61 if (NULL !== ($tmp = mysqli_stmt_fetch($stmt)))
62 printf("[011] Expecting NULL, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
68 if ((NULL !== ($tmp = mysqli_stmt_get_result($stmt))) && (false !== $tmp))
69 printf("[013] Expecting NULL or boolean/false, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
74 if (!is_object($tmp = mysqli_stmt_get_result($stmt)))
75 printf("[016] NULL, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
77 mysqli_free_result($tmp);
84 if (NULL !== ($tmp = mysqli_stmt_get_result($stmt)))
85 printf("[018] Expecting NULL, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
90 if (false !== ($tmp = mysqli_stmt_get_result($stmt)))
91 printf("[020] Expecting false, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
96 if (!is_object($tmp = mysqli_stmt_get_result($stmt)))
97 printf("[024] Expecting object, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
99 if (false !== ($tmp = mysqli_stmt_fetch($stmt)))
100 printf("[025] false, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
102 if (true !== ($tmp = mysqli_stmt_bind_result($stmt, $id, $label))) {
105 printf("[028] Expecting boolean/true, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
108 if (false !== ($tmp = mysqli_stmt_fetch($stmt)))
109 printf("[029] false, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
124 if (true !== ($tmp = mysqli_stmt_bind_result($stmt, $id, $label)))
125 printf("[035] Expecting boolean/true, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
127 if (!is_object($tmp = $result = mysqli_stmt_get_result($stmt)))
129 gettype($tmp), var_export($tmp, 1),
132 if (false !== ($tmp = mysqli_stmt_fetch($stmt)))
134 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
146 if (false !== ($tmp = mysqli_stmt_get_result($stmt)))
147 printf("[041] Expecting false, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
151 if (NULL !== ($tmp = mysqli_stmt_fetch($stmt)))
152 printf("[042] Expecting NULL, got %s/%s\n", gettype($tmp), var_export($tmp, 1));