rfc:php57

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:php57 [2014/12/16 00:07] ajfrfc:php57 [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== PHP RFC: PHP 5.7 ====== ====== PHP RFC: PHP 5.7 ======
-  * Version: 0.1+  * Version: 0.2
   * Date: 2014-12-15   * Date: 2014-12-15
   * Author: Andrea Faulds, ajf@ajf.me   * Author: Andrea Faulds, ajf@ajf.me
-  * Status: Under Discussion+  * Status: Declined
   * First Published at: http://wiki.php.net/rfc/php57   * First Published at: http://wiki.php.net/rfc/php57
  
 ===== Introduction ===== ===== Introduction =====
  
-There is going to be a new major release of PHP, [[rfc:php6|PHP 7]], and we have agreed on a [[rfc:php7timeline|timeline]] for it. Because it is a major release that breaks backwards-compatibility in some areas, there have been calls to create a final minor release for the PHP 5.x line, PHP 5.7. Such a release would ease the transition from PHP 5 to PHP 7. Firstly, it would give users an extra year of official support for PHP 5. Secondly, it would allow us to add deprecation notices and other warnings for things that will change in PHP 7, in order to give users a chance to update their code.+There is going to be a new major release of PHP, [[rfc:php6|PHP 7]], and we have agreed on a [[rfc:php7timeline|timeline]] for it. Because it is a major release that breaks backwards-compatibility in some areas, there have been calls to create a final minor release for the PHP 5.x line, PHP 5.7. Such a release would ease the transition from PHP 5 to PHP 7. Firstly, it would give users an extra year of official support for PHP 5. Secondly, it would allow us to add deprecation notices and pre-reserve keywords for things that will change or be added in PHP 7, in order to give users a chance to update their code.
  
 ===== Proposal ===== ===== Proposal =====
  
-A final minor version of PHP 5 shall be made, PHP 5.7, to be released at the same time as PHP 7. Its timeline will track that used by PHP 7 (see the [[rfc:php7timeline|PHP 7 Timeline RFC]]):+A final minor version of PHP 5 shall be made, PHP 5.7. Its feature freeze should coincide with that of PHP 7, however it will be released earlier (a year after the release of PHP 5.6, per the normal [[rfc:releaseprocess|Release Process]]), in August 2015:
  
 ^ Proposed Milestones ^^^ ^ Proposed Milestones ^^^
 ^ Milestone                                          ^ Timeline       ^ Comment           ^ ^ Milestone                                          ^ Timeline       ^ Comment           ^
-| 1. **Line up any remaining RFCs that target PHP 5.7.**    | Now - Mar 15 (4+ additional months) | There are already two of these, the [[rfc:switch.default.multiple|Make defining multiple default cases in a switch a syntax error]] RFC (accepted) and the [[rfc:remove_php4_constructors|Remove PHP 4 Constructors]] RFC (under discussion) |+| 1. **Line up any remaining RFCs that target PHP 5.7 and PHP 7.**    | Now - Mar 15 (4+ additional months) | There are already two of these, the [[rfc:switch.default.multiple|Make defining multiple default cases in a switch a syntax error]] RFC (accepted) and the [[rfc:remove_php4_constructors|Remove PHP 4 Constructors]] RFC (under discussion) |
 | 2. **Finalize implementation & testing of changes.**      | Mar 16 - Jun 15 (3 months) | | | 2. **Finalize implementation & testing of changes.**      | Mar 16 - Jun 15 (3 months) | |
-| 3. **Release Candidate (RC) cycles**                      | Jun 16 - Oct 15 (months) | Subject to quality! +| 3. **Release Candidate (RC) cycles**                      | Jun 16 - Aug 15 (months) | | 
-| 4. **GA/Release**                                         Mid October 2015           Subject to quality! |+| 4. **GA/Release**                                         August 2015           | |
  
-Unlike normal PHP minor versions, no new features may be added to the PHP 5.7 release - any new features must go into PHP 7 instead. However, RFCs targeting PHP 7 may choose to add deprecation notices or other warnings to PHP 5.7, and bug fixes will be allowed as usual.+Unlike normal PHP minor versions, no new features may be added to the PHP 5.7 release - any new features must go into PHP 7 instead. However, RFCs targeting PHP 7 may choose to add deprecation notices or other warnings to PHP 5.7, and pre-reserve new reserved words that will be used by PHP 7 features. Bug fixes will be allowed as usual.
  
-===== Proposed Voting Choices =====+===== Vote =====
  
 The vote will be a straight Yes/No vote with 2/3 majority. The vote will be a straight Yes/No vote with 2/3 majority.
 +
 +Voting started on 2014-12-29 and ended on 2015-01-08.
 +
 +<doodle title="Accept the PHP 5.7 RFC?" auth="ajf" voteType="single" closed="true">
 +   * Yes
 +   * No
 +</doodle>
  
 ===== References ===== ===== References =====
Line 33: Line 40:
 ===== Changelog ===== ===== Changelog =====
  
 +  * v0.2 - Target August, allow reserved words
   * v0.1 - Initial version   * v0.1 - Initial version
rfc/php57.1418688425.txt.gz · Last modified: 2017/09/22 13:28 (external edit)