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
Next revisionBoth sides next revision
rfc:php6 [2014/07/19 23:25] – Voting time period ajfrfc:php6 [2014/07/23 13:56] nikic
Line 1: Line 1:
 ====== PHP RFC: Name of Next Release of PHP ====== ====== PHP RFC: Name of Next Release of PHP ======
-  * Version: 1.1 +  * Version: 2.0 
-  * Date: 2014-07-05 (latest 2014-07-20+  * Date: 2014-07-05 (latest 2014-07-22
-  * Author: Andrea Fauldsajf@ajf.me+  * Authors: Andrea Faulds <ajf@ajf.me>, Zeev Suraski <zeev@php.net>
   * Status: In Voting   * Status: In Voting
   * First Published at: http://wiki.php.net/rfc/php6   * First Published at: http://wiki.php.net/rfc/php6
Line 10: Line 10:
 There has been some debate over what the name of the next major release of PHP, to succeed the PHP 5.x series, should be called. This RFC is an attempt to settle the matter once and for all. There has been some debate over what the name of the next major release of PHP, to succeed the PHP 5.x series, should be called. This RFC is an attempt to settle the matter once and for all.
-Unlike most RFCs, this deals with a release process issue, and not with extending PHP itself.+This RFC proposes that the next major version of PHP shall be named either PHP 6 or PHP 7based on the outcome of this vote. In the following arguments for both sides are presented.
-===== Proposal =====+===== Historical context =====
-This RFC proposes that the next major release of PHP (PHP NEXT or PHP x+1), to succeed the PHP 5.x seriesshall be named either PHP 6, or PHP 7, based on the result of the vote.+The reason why this question even comes up, is that there has been a previous attempt at a new major versionwhich was started in 2005 and abandoned in 2010 due to difficulties in the Unicode implementationApart from language-integrated Unicode supportmost features added for that version were integrated either in PHP 5.3 or PHP 5.4.
-===== Rationale =====+This previous attempt at a new major version was also developed under the name of PHP 6 and as such there are various resources referring to it, including a number of books. There is concern that there might be confusion between the abandoned previous attempt and the work that is currently happening.
-PHP 6 is the most obvious name choice as it follows the existing numbering scheme. Do we really need to break from it?+===== The Case for PHP 7 =====
-The main argument against this is that there was previously a project, which was abandoned in 2010, also called PHP 6. There have been many discussions about it in the past and some books and articles dealing with it exist, and this could cause confusion. Essentially, we would be naming a new version with the same name as a previous, but never properly released and abandoned version. A little looking at Amazon reveals that some of these "PHP 6" books do not actually cover PHP 6 at all, and many of the books are of poor quality. Furthermore, I expect that we could easily clarify if necessary that this PHP 6 was not the subject of those books, and I think that much would be obvious to users given that the new PHP 6 would be released in 2015 at the very earliest, more than 5 years after all existing "PHP 6" books would have been published.+The case for choosing 7 as the next major version for PHP is comprised from 2 key elements - there are no good reasons not to do it, and several good reasons to do it.
-In past discussions, "PHP 7" has also been suggested as a name, to make it clear that this new version of PHP is unrelated to the old "PHP 6". However, it has been argued that it would not reduce confusion (people would wonder why the version 6 was skipped), and that people who would be likely to fall for "PHP 6" books might look for PHP 7 books, be unable to find them, and end up buying the old "PHP 6" books as they would seem, by the version number, to be the most up-to-date. While it could be argued that "PHP 7" is breaking with the numbering scheme by "skipping" a version, it could also be argued that it isn't, as PHP 6, even if it was never properly released, was a real version in development.+==== No good reasons NOT to skip version 6 ====
-Another point that has been made is that due to online reviews, it would quickly become clear that these old "PHP 6" books do not cover the new PHP 6; people would likely try themfind the code in the book did not work, and rate the book "1 star", deterring other customers. Furthermore, the PHP community would likely try to dissuade people from buying these old "PHP 6" books. Some also question how many of the old "PHP 6" books are still in print, for that matter+Regarding the first element, it seems that many people are concerned that if we skip a versionwe somehow cause confusion or break away from our versioning scheme.
-There are few naming options aside from PHP 6 or PHP 7 with considerable supporthence the vote covers only those two.+The main confusion point cited by proponents of 'PHP 6' was that people will wonder 'how come we suddenly have PHP 7 and without having PHP 6?' - howeverthis is really much more of a trivia question than a cause for confusion.  For obvious reasons, it will be clear that 7 is the latest version and even if there is 6 out there, 7 is newer and better.
-===== Vote =====+We also wouldn't be breaking away or even changing our current versioning scheme.  We're only skipping a version, while keeping everything about our versioning scheme intact.
-Previously, a 2/3 majority yes/no vote to PHP 6 was proposed.+==== Strong reasons of why we actually should skip version 6 into 7 ==== 
 +There are several reasons of why we shouldn't reuse version 6 for the next major version of PHP. 
 +  * First and foremostPHP 6 already existed and it was something completely different.  The decimal system (or more accurately the infinite supply of numbers we have) makes it easy for us to skip version, with plenty more left for future versions to come. 
 +  * While it's true that the other PHP 6 never reached General Availability, it was still a very widely published and well-known project conducted by php.net that will share absolutely nothing with the version that is under discussion now.  Anybody who knew what PHP 6 is (and there are many) will have a strong misconception in his or her mind as to the contents and features of this new upcoming version (essentially, that it's all about Unicode). 
 +  * PHP 6, the original PHP 6, has been discussed in detail in many PHP conferences.  It was taught to users as a done-deal, including detailed explanations about features and behavior (by php.net developers, not 'evil' book authors). 
 +  * PHP 6 was widely known not only within the Internals community, but around the PHP community at large.  It was a high profile project that many - if not most - PHP community members knew about. 
 +  * There's lots of PHP 6 information, about the original PHP 6, that exists around the web.  Books are the smallest part of the problem. 
 +  * Unlike the 'trivia question' of 'why did we skip into 7?', reusing version 6 is likely to call **real** confusion in people's minds, with ample information on two completely different versions with entirely different feature sets that have the exact same name. 
 +  * Skipping versions isn't unprecedented or uncommon in both open source projects and commercial products.  MariaDB, jumped all the way up to version 10.0 to avoid confusion, Netscape Communicator skipped version 5.0 directly into 6.0, and Symantec skipped version 13.  Each and every one of those had different reasons for the skipping, but the common denominator is that skipping versions is hardly a big deal. 
 +  * Version 6 is generally associated with failure in the world of dynamic languages.  PHP 6 was a failure;  Perl 6 was a failure. It's actually associated with failure also outside the dynamic language world - MySQL 6 also existed but never released.  The perception of version 6 as a failure - not as a superstition but as a real world fact (similar to the association of the word 'Vista' with failure) - will reflect badly on this PHP version. 
 +  * The case for 6 is mostly a rebuttal of some of the points above, but without providing a strong case for why we *shouldn't* skip version 6.  If we go with PHP 7, the worst case scenario is that we needlessly skipped a version.  We'd still have an infinite supply of major versions at our disposal for future use.  If, however, we pick 6 instead of 7 - the worst case scenario is widespread confusion in our community and potential negative perception about this version. 
 +As a special non serious bonus, 7 is perceived as a lucky number in both the Western world and Chinese culture.  A little bit of luck never hurt anybody.  [[http://en.wikipedia.org/wiki/Numbers_in_Chinese_culture]] (no, we're not truly seeing it as a real advantage - the case for 7 is very strong without it). 
 +==== Summary ==== 
 +Version 6 is already taken by a highly publicized project that is in the minds of a very large chunk of PHP developers, internals and general PHP community alike. 
 +We risk nothing by calling it PHP 7.  We risk confusion and negative perception if we insist on reusing 6 for a completely different project. 
 +Taking a risk that stands to yield absolutely no reward is not a good strategy. 
 +===== The Case for PHP 6 ===== 
 +  * According to our current release process and semantic versioning, the next major version after PHP 5 should be PHP 6. Unless there are very strong reasons to the contrary, we should not abandon our current version numbering scheme. 
 +  * While there exists a number of resources about the previous attempt at a PHP 6 release, these will be quickly displaced once PHP 6 is actually released. This applies both to blog posts, which will be (and partially already are) displaced by newer content, and books, which will receive negative reviews because they do not actually cover the version of PHP they claim to cover. 
 +  * By now there are also many resources which refer to the next major version as "PHP 6", without having any relation to the abandoned previous attempt. This includes anything from blog posts and discussions about features for the upcoming version, to RFCs and design documents in this wiki. Calling the next major version "PHP 7" instead will cause confusion in this direction. 
 +  * In OTR discussions about a new major version, it is nearly always referred to as "PHP 6". Given that the current version is PHP 5, people understandably jump to the conclusion that the next one will be "PHP 6" and refer to it as such. In the minds of many devs "PHP 6" is already deeply ingrained as the name of the next major. 
 +  * While many participants on the internals mailing list were involved in the original PHP 6 effort and as such are acutely aware of its existence, the larger PHP community is not. While discussing this RFC with various developers, many did not really understand why this was even a question, because they were no more than vaguely aware that there was something like PHP 6 in the past. As such wrong expectations due to confusion about the version number should be minimal. 
 +  * While there has certainly been precedent for missing version numbers, this usually occurs in the context of larger changes to the versioning scheme. For example, when Java went from 1.4 to 5.0, it's clear that the numbering system changed. The existing precedent suggests going to PHP 2016 or something equally distinct, rather than just skipping a version. (No, this is not a serious suggestion.
 +===== Vote =====
 A 50%+1 (simple majority) vote with two options, "PHP 6" and "PHP 7", is proposed. If more votes are for PHP 6, that shall be the name of the next major release of PHP. Otherwise, if more of votes are for PHP 7, that shall be its name. A 50%+1 (simple majority) vote with two options, "PHP 6" and "PHP 7", is proposed. If more votes are for PHP 6, that shall be the name of the next major release of PHP. Otherwise, if more of votes are for PHP 7, that shall be its name.
-Voting started 2014-07-20 and ends 2014-07-27.+Voting started 2014-07-20 but was cancelled. 
 +Voting restarted 2014-07-23 afresh and ends 2014-07-30.
-<doodle title="Shall PHP NEXT be called PHP 6, or PHP 7?" auth="user" voteType="single" closed="false">+<doodle title="Shall the name of PHP NEXT be PHP 6, or PHP 7?" auth="user" voteType="single" closed="false">
    * PHP 6    * PHP 6
    * PHP 7    * PHP 7
rfc/php6.txt · Last modified: 2017/09/22 13:28 by