Lines Matching refs:stmt
24 if (!$stmt = mysqli_stmt_init($link))
27 if (NULL !== ($tmp = @mysqli_stmt_send_long_data($stmt, '')))
36 if (!mysqli_stmt_prepare($stmt, "INSERT INTO test(id, label) VALUES (?, ?)"))
37 printf("[007] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
41 if (!mysqli_stmt_bind_param($stmt, "ib", $id, $label))
42 printf("[008] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
79 if (false !== ($tmp = mysqli_stmt_send_long_data($stmt, -1, $blob)))
81 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
83 if (NULL !== ($tmp = @mysqli_stmt_send_long_data($stmt, PHP_INT_MAX + 1, $blob)))
85 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
87 if (false !== ($tmp = mysqli_stmt_send_long_data($stmt, 999, $blob)))
89 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
91 if (true !== ($tmp = mysqli_stmt_send_long_data($stmt, 1, $blob)))
93 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
96 if (true !== mysqli_stmt_execute($stmt))
97 printf("[016] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
98 mysqli_stmt_close($stmt);
118 if (NULL !== ($tmp = @mysqli_stmt_send_long_data($stmt, '')))