(PHP 5, PHP 7, PHP 8)
mysqli_stmt::attr_get -- mysqli_stmt_attr_get — Used to get the current value of a statement attribute
面向对象风格
$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.