rfc:fix_list_behavior_inconsistency

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:fix_list_behavior_inconsistency [2014/09/11 10:42] dmitryrfc:fix_list_behavior_inconsistency [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== PHP RFC: Fix list() behavior inconsistency ====== ====== PHP RFC: Fix list() behavior inconsistency ======
-  * Version: 0.9+  * Version: 1.0
   * Date: 2014-09-11   * Date: 2014-09-11
   * Author: Dmitry Stogov, dmitry@zend.com   * Author: Dmitry Stogov, dmitry@zend.com
-  * Status: Draft (or Under Discussion or Accepted or Declined)+  * Status: Implemented (in PHP 7)
   * First Published at: http://wiki.php.net/rfc/fix_list_behavior_inconsistency   * First Published at: http://wiki.php.net/rfc/fix_list_behavior_inconsistency
  
Line 49: Line 49:
 PHP7 PHP7
  
-===== Proposed Voting Choices ===== +===== Vote =====
-  * disable string handling in all cases +
-  * enable string handling in all cases+
  
-This project requires a 2/3 majority+This project requires a 2/3 majority, between first and second or third options.
  
-===== Patches and Tests ===== +Voting started on 2014-09-25 and ends 2014-10-02. 
-The implementation is not really a problem.+ 
 +<doodle title="Fix list() behavior inconsistency?" auth="dmitry" voteType="single" closed="true"> 
 +   * don't fix 
 +   * disable string handling in all cases 
 +   * enable string handling in all cases 
 +</doodle> 
 + 
 +===== Implementation ===== 
 + 
 +Support for strings has been removed for all cases. Support for ''ArrayAccess'' has been added for all cases (previously it was not supported for temporary variables). 
 + 
 +https://github.com/php/php-src/commit/7c7b9184b1fdf7add1715079f22241bc1185fcb0
rfc/fix_list_behavior_inconsistency.1410432131.txt.gz · Last modified: 2017/09/22 13:28 (external edit)