mysqli_stmt::close

mysqli_stmt_close

(PHP 5, PHP 7)

mysqli_stmt::close -- mysqli_stmt_closeCloses a prepared statement

Descrição

Estilo orientado à objeto

public mysqli_stmt::close ( ) : bool

Estilo procedural

mysqli_stmt_close ( mysqli_stmt $stmt ) : bool

Closes a prepared statement. mysqli_stmt_close() also deallocates the statement handle. If the current statement has pending or unread results, this function cancels them so that the next query can be executed.

Parâmetros

stmt

Somente no estilo procedural: Um recurso statement retornado por mysqli_stmt_init().

Valor Retornado

Retorna true em caso de sucesso ou false em caso de falha.

Veja Também