mysqli_stmt_error

Supported Versions: PHP 5, PHP 7, PHP 8
Returns a string description for last statement error
<?php mysqli_stmt_error(mysqli_stmt $statement): string