← All docs

mysqli_stmt_close()

Closes a prepared statement and frees its resources.

mysqli_stmt_close()

function mysqli_stmt_close(mixed $statement): bool

Closes a prepared statement and frees its resources.

Parameters:

  • $statement (mixed)

Returns: bool

Availability

  • Compiled (AOT): supported through an injected elephc-PHP prelude.
  • eval() (magician interpreter): not available inside eval’d code.

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

For how mysqli_stmt_close is implemented in the compiler, see the internals page.