# mysqli_stmt::free_result

# mysqli_stmt_free_result

(PHP 5, PHP 7)

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

### Description

Object oriented style

public mysqli_stmt::free_result ( ) : void

Procedural style

mysqli_stmt_free_result ( mysqli_stmt `$stmt` ) : void

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

### Parameters

`stmt`

  Procedural style only: A statement identifier returned by mysqli_stmt_init().

### Return Values

No value is returned.

### See Also

- mysqli_stmt_store_result() - Transfers a result set from a prepared statement