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

說明

面向?qū)ο箫L(fēng)格

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

過程化風(fēng)格

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

Gets the current value of a statement attribute.

參數(shù)

statement

僅以過程化樣式:由 mysqli_stmt_init() 返回的 mysqli_stmt 對(duì)象。

attribute

The attribute that you want to get.

返回值

Returns the value of the attribute.