Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<mysqli_stmt::$field_countmysqli_stmt::get_result>
^mysqli_stmtLast updated: Mon, 26 Oct 2026

mysqli_stmt::free_result

mysqli_stmt_free_result

(PHP 5, PHP 7, PHP 8)

mysqli_stmt::free_result -- mysqli_stmt_free_result — Frees stored result memory for the given statement handle

Description

Object-oriented style

public function mysqli_stmt::free_result(): void

Procedural style

function mysqli_stmt_free_result(mysqli_stmt $statement): void

Frees the result memory associated with the statement, which was allocated by mysqli_stmt_store_result().

Parameters

statement

Procedural style only: A mysqli_stmt object returned by mysqli_stmt_init().

Return Values

No value is returned.

See Also


<mysqli_stmt::$field_countmysqli_stmt::get_result>
^mysqli_stmtLast updated: Mon, 26 Oct 2026