construct

mysqli_stmt::__construct

Constructs a new

mysqli_stmt

object

ENTITY

public

mysqli_stmt::__construct

mysqli

mysql

string

null

query

ENTITY

This method constructs a new mysqli_stmt object.

ENTITY

query
The query, as a string. If this parameter is ENTITY, then the constructor behaves identically to mysqli_stmt_init, otherwise it behaves as per mysqli_prepare.

ENTITY ENTITY

ENTITY

ENTITY ENTITY
8.0.0 query is now nullable.

ENTITY

mysqli_prepare, mysqli_stmt_init


版本号 #2
由 壳壳虫 创建于 2026-10-31 17:58:58 UTC
由 壳壳虫 更新于 2026-10-31 17:58:59 UTC