rfc:autovivification_false

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
Last revisionBoth sides next revision
rfc:autovivification_false [2021/06/09 19:38] – Open voting dharmanrfc:autovivification_false [2021/06/23 21:11] – Close voting dharman
Line 2: Line 2:
   * Date: 2021-05-25   * Date: 2021-05-25
   * Author: Kamil Tekiela <dharman@php.net>   * Author: Kamil Tekiela <dharman@php.net>
-  * Status: Voting+  * Status: Accepted 
 +  * Draft implementation: https://github.com/php/php-src/pull/7131
   * Target Version: PHP 8.1   * Target Version: PHP 8.1
  
Line 29: Line 30:
 > Cannot use a scalar value as an array > Cannot use a scalar value as an array
  
-In PHP 8.1, appending to a variable of type false will display a deprecation notice. +In PHP 8.1, appending to a variable of type false will display a deprecation notice. For example:
  
-In PHP 9.0, this will throw a fatal error. +> Deprecated: Automatic conversion of false to array is deprecated in 
 + 
 +In PHP 9.0, this will throw a fatal error, the same as for other scalar types
  
 ===== Rationale ===== ===== Rationale =====
Line 59: Line 62:
 Ends: 2021-06-23T20:00:00Z Ends: 2021-06-23T20:00:00Z
  
-<doodle title="Deprecate autovivification from false?" auth="dharman" voteType="single" closed="false"> +<doodle title="Deprecate autovivification from false?" auth="dharman" voteType="single" closed="true"> 
    * Yes    * Yes
    * No    * No
rfc/autovivification_false.txt · Last modified: 2021/07/20 16:42 by dharman