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.

Subscribe to PHP.Watch newsletter for monthly updates

You will receive an email on last Wednesday of every month and on major PHP releases with new articles related to PHP, upcoming changes, new features and what's changing in the language. No marketing emails, no selling of your contacts, no click-tracking, and one-click instant unsubscribe from any email you receive.