rfc:mysqli_bind_in_execute

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
rfc:mysqli_bind_in_execute [2021/02/28 18:36] – Introduced is_list check dharmanrfc:mysqli_bind_in_execute [2021/06/11 11:55] (current) – Implemented dharman
Line 3: Line 3:
   * Date: 2021-02-11   * Date: 2021-02-11
   * Author: Kamil Tekiela, dharman@php.net   * Author: Kamil Tekiela, dharman@php.net
-  * Status: Under Discussion+  * Target version: PHP 8.1 
 +  * Implementation: https://github.com/php/php-src/pull/6271 
 +  * Status: Implemented
  
  
Line 10: Line 12:
  
 ===== Proposal ===== ===== Proposal =====
-I would like to propose adding a new optional argument to %%mysqli_stmt::execute()%% same as PDO does with %%PDOStatement::execute()%%. The goal of this proposal is to simplify mysqli usage with a simple fix which does not require major refactoring.+I would like to propose adding a new optional argument to %%mysqli_stmt::execute()%% same as PDO does with %%PDOStatement::execute()%%. The goal of this proposal is to simplify mysqli usage with a simple fix that does not require major refactoring.
  
 This proposal tries to address the following mysqli limitations: This proposal tries to address the following mysqli limitations:
Line 69: Line 71:
  
 ===== Backward Incompatible Changes ===== ===== Backward Incompatible Changes =====
-None that I can find.+Classes extending %%mysqli_stmt::execute()%% will be required to specify the additional parameter now.
  
 ===== Proposed PHP Version(s) ===== ===== Proposed PHP Version(s) =====
-Next PHP 8.x+Next PHP 8.X (8.1)
  
 ===== RFC Impact ===== ===== RFC Impact =====
Line 82: Line 84:
 ==== php.ini Defaults ==== ==== php.ini Defaults ====
 None. None.
- 
-===== Open Issues ===== 
- 
  
 ===== Unaffected PHP Functionality ===== ===== Unaffected PHP Functionality =====
Line 95: Line 94:
 Simple yes/no vote. Simple yes/no vote.
  
-===== Patches and Tests ===== +Voting started on 2021-03-08 and ends on 2021-03-27 
-The implementation is available at https://github.com/php/php-src/pull/6271+ 
 +<doodle title="MySQLi bind-in-execute" auth="Dharman" voteType="single" closed="true"> 
 +   * Yes 
 +   * No 
 +</doodle>
  
 ===== Implementation ===== ===== Implementation =====
-After the project is implemented, this section should contain  +[[https://github.com/php/php-src/pull/6271|PR here]]
-  the version(s) it was merged into +
-  - a link to the git commit(s) +
-  - a link to the PHP manual entry for the feature +
-  - a link to the language specification section (if any)+
  
 ===== References ===== ===== References =====
-Links to external references, discussions or RFCs +https://externals.io/message/113149
- +
-===== Rejected Features =====+
  
rfc/mysqli_bind_in_execute.1614537380.txt.gz · Last modified: 2021/02/28 18:36 by dharman