PHP 8.1.0 Alpha 1 available for testing

mysqli_stmt::attr_get

mysqli_stmt_attr_get

(PHP 5, PHP 7)

mysqli_stmt::attr_get -- mysqli_stmt_attr_getUsed to get the current value of a statement attribute

说明

面向对象风格

public mysqli_stmt::attr_get ( int $attribute ) : int

过程化风格

mysqli_stmt_attr_get ( mysqli_stmt $statement , int $attribute ) : int

Gets the current value of a statement attribute.

参数

stmt

仅以过程化样式:由 mysqli_stmt_init() 返回的 statement 标识。

attribute

The attribute that you want to get.

返回值

Returns false if the attribute is not found, otherwise returns the value of the attribute.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top