Frees stored result memory for the given statement handle

# 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

### 说明

面向对象风格

public function mysqli_stmt::free_result(): void

过程化风格

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().

### 参数

`statement`
  仅以过程化样式：由 mysqli_stmt_init() 返回的 mysqli_stmt 对象。

### 返回值

没有返回值。

### 参见

- mysqli_stmt_store_result() - Stores a result set in an internal buffer

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open