rfc:mysqli_default_errmode

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_default_errmode [2021/01/31 18:15] – Added FAQ and explanation of all error reporting modes dharmanrfc:mysqli_default_errmode [2021/06/11 11:52] (current) – Implemented dharman
Line 3: Line 3:
   * Date: 2021-01-20   * Date: 2021-01-20
   * Author: Kamil Tekiela, dharman@php.net   * Author: Kamil Tekiela, dharman@php.net
-  * Status: Under Discussion +  * Status: Implemented (PHP 8.1) 
-  * First Published athttp://wiki.php.net/rfc/mysqli_default_errmode+  * Implementationhttps://github.com/php/php-src/pull/6629
  
  
Line 131: Line 131:
 The silent and warning mode could be removed in one of the major versions in the future once the PHP community adjusts. However, that is only wishful thinking. The silent and warning mode could be removed in one of the major versions in the future once the PHP community adjusts. However, that is only wishful thinking.
  
-===== Proposed Voting Choices ===== +===== Voting ===== 
-This vote requires a 2/3 majority.+This is a simple yes/no vote. This vote requires a 2/3 majority. 
 + 
 +Voting started 2021-02-11 and closes 2021-02-28. 
 + 
 +<doodle title="Change Default mysqli Error Mode" auth="dharman" voteType="single" closed="true"> 
 +   * Yes 
 +   * No 
 +</doodle>
  
 ===== Patches and Tests ===== ===== Patches and Tests =====
-The change is trivial and here is the related GH PR: https://github.com/php/php-src/pull/6629+The change is trivial. Here is the related GH PR: https://github.com/php/php-src/pull/6629 
 + 
 +Existing test cases will not be amended as this would be too much work. Instead, the silent mode will be enabled explicitly in connect.inc.
  
-Existing test cases will not be amended as the workload is too much. Instead, the silent mode will be enabled explicitly in connect.inc. 
  
 ===== Implementation ===== ===== Implementation =====
-After the project is implemented, this section should contain  +[[https://github.com/php/php-src/pull/6629|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 referencesdiscussions or RFCs+RFC discussion: https://externals.io/message/112947https://externals.io/message/113134
  
 ===== Rejected Features ===== ===== Rejected Features =====
-Keep this updated with features that were discussed on the mail lists.+A suggestion was made to move to warning mode first and then to exception mode. This suggestion was rejected as it provides no tangible benefits
rfc/mysqli_default_errmode.1612116941.txt.gz · Last modified: 2021/01/31 18:15 by dharman