← All docs

mysqli_stmt_attr_set()

Changes the behavior of a prepared statement.

mysqli_stmt_attr_set()

function mysqli_stmt_attr_set(mixed $statement, int $attribute, int $value): bool

Changes the behavior of a prepared statement.

Parameters:

  • $statement (mixed)
  • $attribute (int)
  • $value (int)

Returns: bool

Availability

Compiled (AOT)Magician (eval)
AvailableNot available yet

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

Internals

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