rfc:notice-for-non-valid-array-container

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:notice-for-non-valid-array-container [2016/08/31 18:09] bp1222rfc:notice-for-non-valid-array-container [2019/07/10 12:20] (current) – Implemented nikic
Line 3: Line 3:
   * Date: 2016-08-16   * Date: 2016-08-16
   * Author: David Walker (dave@mudsite.com)   * Author: David Walker (dave@mudsite.com)
-  * Status: Voting+  * Status: Implemented (in PHP 7.4)
   * First Published at: http://wiki.php.net/rfc/notice-for-non-valid-array-container   * First Published at: http://wiki.php.net/rfc/notice-for-non-valid-array-container
  
Line 35: Line 35:
                              // and accessing [0] on null is invalid.  The second,                               // and accessing [0] on null is invalid.  The second, 
                              // would be $c[0] for the same reason.                              // would be $c[0] for the same reason.
 +                             // Output:
 +                             // int(0)
 </file> </file>
  
Line 114: Line 116:
 ===== Proposed Voting Choices ===== ===== Proposed Voting Choices =====
 Requires 2/3 Vote Requires 2/3 Vote
-<doodle title="E_WARNING for invalid container read array-access" auth="bp1222" voteType="single" closed="false">+<doodle title="E_WARNING for invalid container read array-access" auth="bp1222" voteType="single" closed="true">
    * Yes    * Yes
    * No    * No
rfc/notice-for-non-valid-array-container.1472666954.txt.gz · Last modified: 2017/09/22 13:28 (external edit)