rfc:undefined_variable_error_promotion

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:undefined_variable_error_promotion [2022/03/14 17:12] marandallrfc:undefined_variable_error_promotion [2022/03/28 17:52] (current) marandall
Line 3: Line 3:
   * Date: 2022-02-17   * Date: 2022-02-17
   * Author: Mark Randall marandall@php.net   * Author: Mark Randall marandall@php.net
-  * Status: Voting+  * Status: Accepted
   * Target: PHP 9.0   * Target: PHP 9.0
   * First Published at: https://wiki.php.net/rfc/undefined_variable_error_promotion   * First Published at: https://wiki.php.net/rfc/undefined_variable_error_promotion
Line 130: Line 130:
  
 ===== Unaffected Functionality ===== ===== Unaffected Functionality =====
-If the code does not currently emit a "Warning: Undefined variable $varname" then it is out of scope for this RFC.+If the code does not currently emit a "Warning: Undefined variable $varname" then it is out of scope for this RFC. This RFC does NOT apply to array indexes.
  
 ===== Vote ===== ===== Vote =====
-<doodle title="Promote Undefined Variables to Throw an Error" auth="marandall" voteType="single" closed="false">+Vote opened 2022-03-14, vote closes 2022-03-28 
 + 
 +<doodle title="Promote Undefined Variables to Throw an Error" auth="marandall" voteType="single" closed="true">
    * Yes    * Yes
    * No    * No
Line 140: Line 142:
 Meta vote for reasoning of voting against: Meta vote for reasoning of voting against:
  
-<doodle title="Main reason for voting against if you did?" auth="marandall" voteType="single" closed="false">+<doodle title="Main reason for voting against if you did?" auth="marandall" voteType="single" closed="true">
    * Using undefined variables is a legitimate coding style    * Using undefined variables is a legitimate coding style
    * Backwards compatibility breaks    * Backwards compatibility breaks
rfc/undefined_variable_error_promotion.1647277939.txt.gz · Last modified: 2022/03/14 17:12 by marandall