php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
mysqli_stmt Class Reference

Public Member Functions

 __construct (mysqli $mysql, ?string $query=null)
 
 attr_get (int $attribute)
 
 attr_set (int $attribute, int $value)
 
 bind_param (string $types, mixed &... $vars)
 
 bind_result (mixed &... $vars)
 
 close ()
 
 data_seek (int $offset)
 
 execute (?array $params=null)
 
 fetch ()
 
 get_warnings ()
 
 result_metadata ()
 
 more_results ()
 
 next_result ()
 
 num_rows ()
 
 send_long_data (int $param_num, string $data)
 
 free_result ()
 
 reset ()
 
 prepare (string $query)
 
 store_result ()
 
 get_result ()
 

Data Fields

int string $affected_rows
 
int string $insert_id
 
int string $num_rows
 
int $param_count
 
int $field_count
 
int $errno
 
string $error
 
array $error_list
 
string $sqlstate
 
int $id
 

Detailed Description

Definition at line 1138 of file mysqli.stub.php.

Constructor & Destructor Documentation

◆ __construct()

mysqli_stmt::__construct ( mysqli $mysql,
?string $query = null )

Definition at line 1196 of file mysqli.stub.php.

Member Function Documentation

◆ attr_get()

mysqli_stmt::attr_get ( int $attribute)

@tentative-return-type @alias mysqli_stmt_attr_get

Definition at line 1202 of file mysqli.stub.php.

◆ attr_set()

mysqli_stmt::attr_set ( int $attribute,
int $value )

@tentative-return-type @alias mysqli_stmt_attr_set

Definition at line 1208 of file mysqli.stub.php.

◆ bind_param()

mysqli_stmt::bind_param ( string $types,
mixed &... $vars )

@tentative-return-type @alias mysqli_stmt_bind_param

Definition at line 1214 of file mysqli.stub.php.

◆ bind_result()

mysqli_stmt::bind_result ( mixed &... $vars)

@tentative-return-type @alias mysqli_stmt_bind_result

Definition at line 1220 of file mysqli.stub.php.

◆ close()

mysqli_stmt::close ( )

@tentative-return-type @alias mysqli_stmt_close

Definition at line 1226 of file mysqli.stub.php.

◆ data_seek()

mysqli_stmt::data_seek ( int $offset)

@tentative-return-type @alias mysqli_stmt_data_seek

Definition at line 1232 of file mysqli.stub.php.

◆ execute()

mysqli_stmt::execute ( ?array $params = null)

@tentative-return-type @alias mysqli_stmt_execute

Definition at line 1238 of file mysqli.stub.php.

◆ fetch()

mysqli_stmt::fetch ( )

@tentative-return-type @alias mysqli_stmt_fetch

Definition at line 1244 of file mysqli.stub.php.

◆ free_result()

mysqli_stmt::free_result ( )

@tentative-return-type @alias mysqli_stmt_free_result

Definition at line 1286 of file mysqli.stub.php.

◆ get_result()

mysqli_stmt::get_result ( )

@tentative-return-type @alias mysqli_stmt_get_result

Definition at line 1310 of file mysqli.stub.php.

◆ get_warnings()

mysqli_stmt::get_warnings ( )

@tentative-return-type @alias mysqli_stmt_get_warnings

Definition at line 1250 of file mysqli.stub.php.

◆ more_results()

mysqli_stmt::more_results ( )

@tentative-return-type @alias mysqli_stmt_more_results

Definition at line 1262 of file mysqli.stub.php.

◆ next_result()

mysqli_stmt::next_result ( )

@tentative-return-type @alias mysqli_stmt_next_result

Definition at line 1268 of file mysqli.stub.php.

◆ num_rows()

mysqli_stmt::num_rows ( )

@tentative-return-type @alias mysqli_stmt_num_rows

Definition at line 1274 of file mysqli.stub.php.

◆ prepare()

mysqli_stmt::prepare ( string $query)

@tentative-return-type @alias mysqli_stmt_prepare

Definition at line 1298 of file mysqli.stub.php.

◆ reset()

mysqli_stmt::reset ( )

@tentative-return-type @alias mysqli_stmt_reset

Definition at line 1292 of file mysqli.stub.php.

◆ result_metadata()

mysqli_stmt::result_metadata ( )

@tentative-return-type @alias mysqli_stmt_result_metadata

Definition at line 1256 of file mysqli.stub.php.

◆ send_long_data()

mysqli_stmt::send_long_data ( int $param_num,
string $data )

@tentative-return-type @alias mysqli_stmt_send_long_data

Definition at line 1280 of file mysqli.stub.php.

◆ store_result()

mysqli_stmt::store_result ( )

@tentative-return-type @alias mysqli_stmt_store_result

Definition at line 1304 of file mysqli.stub.php.

Field Documentation

◆ $affected_rows

int string mysqli_stmt::$affected_rows

@readonly mysqli-stmt.affected-rows

Definition at line 1144 of file mysqli.stub.php.

◆ $errno

int mysqli_stmt::$errno

@readonly mysqli-stmt.errno

Definition at line 1174 of file mysqli.stub.php.

◆ $error

string mysqli_stmt::$error

@readonly mysqli-stmt.error

Definition at line 1180 of file mysqli.stub.php.

◆ $error_list

array mysqli_stmt::$error_list

@readonly mysqli-stmt.error-list

Definition at line 1186 of file mysqli.stub.php.

◆ $field_count

int mysqli_stmt::$field_count

@readonly mysqli-stmt.field-count

Definition at line 1168 of file mysqli.stub.php.

◆ $id

int mysqli_stmt::$id

Definition at line 1194 of file mysqli.stub.php.

◆ $insert_id

int string mysqli_stmt::$insert_id

@readonly mysqli-stmt.insert-id

Definition at line 1150 of file mysqli.stub.php.

◆ $num_rows

int string mysqli_stmt::$num_rows

@readonly mysqli-stmt.num-rows

Definition at line 1156 of file mysqli.stub.php.

◆ $param_count

int mysqli_stmt::$param_count

@readonly mysqli-stmt.param-count

Definition at line 1162 of file mysqli.stub.php.

◆ $sqlstate

string mysqli_stmt::$sqlstate

@readonly mysqli-stmt.sqlstate

Definition at line 1192 of file mysqli.stub.php.


The documentation for this class was generated from the following file: