PHP 8.4.1 Released!

mysqli_stmt::attr_get

mysqli_stmt_attr_get

(PHP 5, PHP 7, PHP 8)

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.

参数

statement

仅以过程化样式:由 mysqli_stmt_init() 返回的 mysqli_stmt 对象。

attribute

The attribute that you want to get.

返回值

Returns the value of the attribute.

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top