PHP 8.1 RFC: MySQLi bind in execute
| MySQLi bind in execute | |
New Feature | |
| PHP 8.1 | |
| Implemented |
RFC Vote: MySQLi bind in execute
Implemented
| - | |
| >= 2/3 | |
| Yes: 32No: 0 |
An RFC that proposes to improve the current MySQLi's mysqli_stmt::execute() method to work similar to the PDO's PDOStatement::execute().
The improved mysqli_stmt::execute() will accept an array of parameters that will be bound to the query, and will be more cleaner compared to the current workflow of calling mysqli_stmt::bind_param that requires parameters to be passed by reference.