Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision |
rfc:engine_warnings [2019/09/13 16:18] – Give more visibility to the note about undef var vote interpretation nikic | rfc:engine_warnings [2020/08/03 12:41] (current) – nikic |
---|
* Date: 2019-08-27 | * Date: 2019-08-27 |
* Author: Nikita Popov <nikic@php.net> | * Author: Nikita Popov <nikic@php.net> |
* Status: Voting | * Status: Implemented |
* Target Version: PHP 8.0 | * Target Version: PHP 8.0 |
| |
As the "undefined variable" vote is a 3-way vote, acceptance is determined as follows: "Error exception" is accepted if it has 2/3 majority. Otherwise, "Warning" is accepted if the first two options together have 2/3 majority. Otherwise, "Keep Notice" applies. | As the "undefined variable" vote is a 3-way vote, acceptance is determined as follows: "Error exception" is accepted if it has 2/3 majority. Otherwise, "Warning" is accepted if the first two options together have 2/3 majority. Otherwise, "Keep Notice" applies. |
| |
<doodle title="Change undefined variable severity to?" auth="nikic" voteType="single" closed="false"> | <doodle title="Change undefined variable severity to?" auth="nikic" voteType="single" closed="true"> |
* Error exception | * Error exception |
* Warning | * Warning |
</doodle> | </doodle> |
. | . |
<doodle title="Change undefined array index severity to?" auth="nikic" voteType="single" closed="false"> | <doodle title="Change undefined array index severity to?" auth="nikic" voteType="single" closed="true"> |
* Warning | * Warning |
* Keep Notice | * Keep Notice |
</doodle> | </doodle> |
. | . |
<doodle title="Change division by zero severity to?" auth="nikic" voteType="single" closed="false"> | <doodle title="Change division by zero severity to?" auth="nikic" voteType="single" closed="true"> |
* DivisionByZeroError exception | * DivisionByZeroError exception |
* Keep Warning | * Keep Warning |
</doodle> | </doodle> |
. | . |
<doodle title="Accept remaining classifications shown in the table above?" auth="nikic" voteType="single" closed="false"> | <doodle title="Accept remaining classifications shown in the table above?" auth="nikic" voteType="single" closed="true"> |
* Yes | * Yes |
* No | * No |