[VOTE][RFC] PHP 5.7

php.internals

Andrew Faulds

11 years ago
Good afternoon, I’m going to put the PHP 5.7 RFC to a vote, since it’d been 2 weeks. I’m not entirely certain myself whether it’s a good idea, but I’d like it for us to vote on it so we can settle the matter. If people vote against 5.7, a new RFC proposing an alternative could always be made by someone. Voting starts today (2014-12-29) and in 10 days’ time, on 2015-01-08. The voting widget and RFC can be found here: https://wiki.php.net/rfc/php57 Thanks!
-- Andrea Faulds http://ajf.me/

Ferenc Kovacs

11 years ago
On Mon, Dec 29, 2014 at 3:41 PM, Andrea Faulds <ajf@ajf.me> wrote:
> Good afternoon, > > I’m going to put the PHP 5.7 RFC to a vote, since it’d been 2 weeks. I’m > not entirely certain myself whether it’s a good idea, but I’d like it for > us to vote on it so we can settle the matter. If people vote against 5.7, a > new RFC proposing an alternative could always be made by someone. > > Voting starts today (2014-12-29) and in 10 days’ time, on 2015-01-08. > > The voting widget and RFC can be found here: > https://wiki.php.net/rfc/php57 > > Thanks! >
hi, I'm not entirely sure that it is a good idea to go through the voting, as in a previous mail you wrote that you don't support the idea anymore and you plan withdrawing it: https://www.mail-archive.com/internals@lists.php.net/msg72085.html https://www.mail-archive.com/internals@lists.php.net/msg72098.html I was planning to create a RFC for 5.7 with some differences to yours (mostly about having minor self-contained features should target 5.7 and making a stronger point for why 5.7 would be useful), but given the current situation I have no favorable outcome, I either vote for an 5.7 which I disagree with in small details (and which will most likely fail the vote because the rfc doesn't really make a strong point for itself nor did you incorporate anything to the rfc which was discussed in the thread) or vote against it when I really think that having an 5.7 would be really useful.
-- Ferenc Kovács @Tyr43l - http://tyrael.hu

Andrew Faulds

11 years ago
Hey Ferenc,
> On 29 Dec 2014, at 15:43, Ferenc Kovacs <tyra3l@gmail.com> wrote: > > I'm not entirely sure that it is a good idea to go through the voting, as in a previous mail you wrote that you don't support the idea anymore and you plan withdrawing it: > https://www.mail-archive.com/internals@lists.php.net/msg72085.html > https://www.mail-archive.com/internals@lists.php.net/msg72098.html
I did say that, but I never actually did it because I wasn’t completely convinced by that idea either.
> I was planning to create a RFC for 5.7 with some differences to yours (mostly about having minor self-contained features should target 5.7 and making a stronger point for why 5.7 would be useful), but given the current situation I have no favorable outcome, I either vote for an 5.7 which I disagree with in small details (and which will most likely fail the vote because the rfc doesn't really make a strong point for itself nor did you incorporate anything to the rfc which was discussed in the thread) or vote against it when I really think that having an 5.7 would be really useful.
I did incorporate things into the RFC that were discussed in the thread, the timetable changes in particular. If you want to work on the RFC, I’d be happy to cancel the vote for now so you can make changes. I’m not sure about allowing small features, but that is up to you. If we’re talking about the kind of things that go into normal minor releases, then there’s a risk of people not bothering to upgrade to PHP 7. Then again, we need to actually encourage people to upgrade to 5.7 first. Development of new features for 5.7 would be difficult because everything you do must essentially be rewritten for 7.0 given the huge internals changes. This also creates unfortunate QA issues, since your 7.0 and 5.7 implementations must have exactly matching behaviour. But there might be a case for small features like we have sometimes in micros, e.g. adding parameters to functions. It’s your call. Thanks.
-- Andrea Faulds http://ajf.me/

Stas Malyshev

11 years ago
Hi!
> I’m going to put the PHP 5.7 RFC to a vote, since it’d been 2 weeks. > I’m not entirely certain myself whether it’s a good idea, but I’d > like it for us to vote on it so we can settle the matter. If people > vote against 5.7, a new RFC proposing an alternative could always be > made by someone.
I still haven't achieved a proper understanding of what 5.7 would actually include (so far the only real BC thing mentioned that it can warn about is the switch thing, and IMHO making the new minor just because of that makes little sense, of course I'm not counting non-accepted RFCs since otherwise there's like 40 of them), so I intend to vote no, but if somebody really sees something substantial that I missed, please point me out, as I am not opposed to the idea of 5.7 just don't see any practical content for it for now.
-- Stas Malyshev smalyshev@gmail.com

Leon Sorokin

11 years ago
On 12/30/2014 2:26 AM, Stanislav Malyshev wrote:
> I still haven't achieved a proper understanding of what 5.7 would > actually include (so far the only real BC thing mentioned that it can > warn about is the switch thing, and IMHO making the new minor just > because of that makes little sense, of course I'm not counting > non-accepted RFCs since otherwise there's like 40 of them), so I intend > to vote no, but if somebody really sees something substantial that I > missed, please point me out, as I am not opposed to the idea of 5.7 just > don't see any practical content for it for now.
Would the unassociation or deprecation-for-unassociation of the ternary '?' (discussed in another thread [1]) be appropriate for the 5.7? Kris Craig mentioned he would write up an RFC for this when he has a chance. [1] http://grokbase.com/t/php/php-internals/14cdp789nk/fix-incorrect-ternary-associativity-for-7-0 thanks, Leon

Andrew Faulds

11 years ago
Hey Leon,
> On 30 Dec 2014, at 19:14, Leon Sorokin <leeoniya@gmail.com> wrote: > > Would the unassociation or deprecation-for-unassociation of the ternary '?' (discussed in another thread [1]) be appropriate for the 5.7? Kris Craig mentioned he would write up an RFC for this when he has a chance.
I don’t think we could make it non-associative in 5.7, since that would be a backwards-compatibility break. We could perhaps add a warning though, if possible. Thanks!
-- Andrea Faulds http://ajf.me/

Andrew Faulds

11 years ago
Hey Stas,
> On 30 Dec 2014, at 08:26, Stanislav Malyshev <smalyshev@gmail.com> wrote: > > I still haven't achieved a proper understanding of what 5.7 would > actually include (so far the only real BC thing mentioned that it can > warn about is the switch thing, and IMHO making the new minor just > because of that makes little sense, of course I'm not counting > non-accepted RFCs since otherwise there's like 40 of them), so I intend > to vote no, but if somebody really sees something substantial that I > missed, please point me out, as I am not opposed to the idea of 5.7 just > don't see any practical content for it for now.
Basically, it would include everything that the latest 5.6.x release had at the time it was finalised, plus deprecation notices and new reserved words (if any). That would be it. If that doesn’t seem worth it to you, I won’t stop you voting against it. :) Thanks.
-- Andrea Faulds http://ajf.me/

Andi Gutmans

11 years ago
> On Dec 30, 2014, at 12:26 AM, Stanislav Malyshev <smalyshev@gmail.com> wrote: > > Hi! > >> I’m going to put the PHP 5.7 RFC to a vote, since it’d been 2 weeks. >> I’m not entirely certain myself whether it’s a good idea, but I’d >> like it for us to vote on it so we can settle the matter. If people >> vote against 5.7, a new RFC proposing an alternative could always be >> made by someone. > > I still haven't achieved a proper understanding of what 5.7 would > actually include (so far the only real BC thing mentioned that it can > warn about is the switch thing, and IMHO making the new minor just > because of that makes little sense, of course I'm not counting > non-accepted RFCs since otherwise there's like 40 of them), so I intend > to vote no, but if somebody really sees something substantial that I > missed, please point me out, as I am not opposed to the idea of 5.7 just > don't see any practical content for it for now.
My take is that anything that takes away efforts from getting PHP 7 to market faster is a distraction. PHP.net needs to continue to show leadership in evolving the runtime. We have a pretty great jewel in our hands. Some very good RFCs that are going to make it in. Postponing PHP 7 (which this would as we have a finite amount of resources on this list) would not be good for our users. Andi P.S. - Not interested in debating it. Definitely accept folks can have other views. Just wanted to state my opinion clearly :)

Andrew Faulds

11 years ago
Hi Andi,
> On 30 Dec 2014, at 21:43, Andi Gutmans <andi@zend.com> wrote: > > My take is that anything that takes away efforts from getting PHP 7 to market faster is a distraction. > PHP.net needs to continue to show leadership in evolving the runtime. We have a pretty great jewel in our hands. Some very good RFCs that are going to make it in. Postponing PHP 7 (which this would as we have a finite amount of resources on this list) would not be good for our users.
I too want to see PHP 7 as soon as possible, and I too want some great RFCs to get in. (I’m really hoping I can get my bigint RFC in, particularly, given I’ve put so much effort into it. Though there’s a good chance it won’t get in due to time constraints.) However, I don’t think 5.7 would consume much effort or be much of a distraction. Bear in mind that the changeset from 5.6 would be trivial at best, as it would contain zero new features. In fact, this is mandated by the RFC, which specifically prohibits new features. The only time it would really require any more effort is after 5.6’s bug fix support ends, as 5.7 would have normal bug fixes for another year. So, while I understand your concern, I don’t think it would have any effect on PHP 7’s release date. Thanks!
-- Andrea Faulds http://ajf.me/

Andrew Faulds

11 years ago
Good evening,
> On 29 Dec 2014, at 14:41, Andrea Faulds <ajf@ajf.me> wrote: > > I’m going to put the PHP 5.7 RFC to a vote, since it’d been 2 weeks. I’m not entirely certain myself whether it’s a good idea, but I’d like it for us to vote on it so we can settle the matter. If people vote against 5.7, a new RFC proposing an alternative could always be made by someone. > > Voting starts today (2014-12-29) and in 10 days’ time, on 2015-01-08. > > The voting widget and RFC can be found here: https://wiki.php.net/rfc/php57
Just a reminder to everyone: the vote ends tomorrow. So if you want to see a PHP 5.7 to ease BC breaks (or if you don’t want to see PHP 5.7), please be sure to vote. It’s naïve for me to hope that it might still pass, but there’s a chance. There’s also a chance that it might fail by a larger margin than it’s going to looking at the current vote totals. Anyway, the important thing is: you only have one day left. If you wish to vote and haven’t yet done so, please do! Thanks!
-- Andrea Faulds http://ajf.me/

Pascal MARTIN

11 years ago
On 07/01/2015 01:44, Andrea Faulds wrote:
> The voting widget and RFC can be found here: https://wiki.php.net/rfc/php57 >
Hi, We've discussed this RFC with other members of AFUP and while opinions have been expressed for both "yes" and "no", it seems we are at about 2/3 of "yes" -- which means we would be +1. Note, though, we are mostly a community of users (which means we generally have a point of view of "users") -- and there aren't many PHP contributors amongst us. Trying to summarize what we have said, on the +1 side : * PHP 5.x would be maintained (especially, it would receive security fixes) for one additional year, which would be a good thing for those who will not update to PHP 7 soon (and there are some -- still, not sure they would update to PHP 5.7 either) * Notices / deprecation warnings could help making the migration to PHP 7 easier (once you've migrated to the last 5.x minor version and fixed a few things, you'll know migrating to the next major should not be too hard) And, on the -1 side : * Even if there is no PHP 5.7, we already have something like 2 years left before PHP 5.6 stops getting security fixes -- and, taking a look at current versions usage, if one doesn't upgrade in 2 years, they probably won't upgrade in 3 years either. * Things that will break for PHP 7 will be indicated by the migration guide (and there are some automatic helper tools for some) * There are not that many PHP contributors -- which means having PHP 5.7 and PHP 7 more or less in parallel might slow PHP 7 down (not only for the initial release, but also for maintenance and evolutions later).
-- Pascal MARTIN, AFUP - French UG http://php-internals.afup.org/