mysqli_stmt::close

mysqli_stmt_close

(PHP 5, PHP 7, PHP 8)

mysqli_stmt::close -- mysqli_stmt_closeCloses a prepared statement

Açıklama

Nesne yönelimli kullanım

publicmysqli_stmt::close(): true

Yordamsal kullanım

mysqli_stmt_close(mysqli_stmt$statement): true

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.

Bağımsız Değişkenler

deyim

Sadece yordamsal tarz: mysqli_stmt_init() işlevinden dönen bir mysqli_stmt nesnesi.

Dönen Değerler

Daima true döndürür.

Sürüm Bilgisi

Sürüm: Açıklama
8.0.0 This function now always returns true. Previously it returned false on failure.

Ayrıca Bakınız

To Top