rfc:php7_foreach

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:php7_foreach [2015/02/05 08:42] dmitryrfc:php7_foreach [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 3: Line 3:
   * Date: 2015-01-29   * Date: 2015-01-29
   * Author: Dmitry Stogov, dmitry@zend.com   * Author: Dmitry Stogov, dmitry@zend.com
-  * Status: Voting+  * Status: Implemented (in PHP 7.0)
   * First Published at: http://wiki.php.net/rfc/php7_foreach   * First Published at: http://wiki.php.net/rfc/php7_foreach
  
Line 276: Line 276:
 The vote is a straight Yes/No vote, that requires a 2/3 majority The vote is a straight Yes/No vote, that requires a 2/3 majority
  
-<doodle title="Fix foreach behavoir?" auth="dmitry" voteType="single" closed="false">+<doodle title="Fix foreach behavoir?" auth="dmitry" voteType="single" closed="true">
    * Yes    * Yes
    * No    * No
Line 283: Line 283:
 The second (Yes/No 50%+1) question is - if we should stop modifying internal array/object pointer in **foreach**. The second (Yes/No 50%+1) question is - if we should stop modifying internal array/object pointer in **foreach**.
  
-<doodle title="Stop using internal array/object pointer in foreach by reference?" auth="dmitry" voteType="single" closed="false">+<doodle title="Stop using internal array/object pointer in foreach by reference?" auth="dmitry" voteType="single" closed="true">
    * Yes    * Yes
    * No    * No
Line 297: Line 297:
  
 ===== Implementation ===== ===== Implementation =====
-After the project is implemented, this section should contain  +The RFC implemented in PHP7 with two commits:
-  - the version(s) it was merged to +
-  - a link to the git commit(s) +
-  - a link to the PHP manual entry for the feature+
  
-===== References ===== +[[http://git.php.net/?p=php-src.git;a=commitdiff;h=97fe15db4356f8fa1b3b8eb9bb1baa8141376077|97fe15db4356f8fa1b3b8eb9bb1baa8141376077]] 
-Links to external references, discussions or RFCs+ 
 +[[http://git.php.net/?p=php-src.git;a=commitdiff;h=4d2a575db2ac28c9acede4a85152bcec342c4a1d|4d2a575db2ac28c9acede4a85152bcec342c4a1d]]
  
  
rfc/php7_foreach.1423125724.txt.gz · Last modified: 2017/09/22 13:28 (external edit)