Re: [PHP-DEV] [RFC] Fix the Tenary Operator -- Please!? Please?

2015-03-26 Thread Florian Margaine
Hi, Michael Morris writes: > Per PHPsadness... > > http://phpsadness.com/sad/30 > > Since 7 is allowed to have BC breaks this would be the time to fix > this. It's too late. Feature freeze is gone. > > I'll let someone with more seniority actually write this up - but please, > please fix this

Re: [PHP-DEV] [RFC] Fix the Tenary Operator -- Please!? Please?

2015-03-26 Thread Alex Bowers
The deadline for PHP 7 features has passed On 26 March 2015 at 20:54, Michael Morris wrote: > Per PHPsadness... > > http://phpsadness.com/sad/30 > > Since 7 is allowed to have BC breaks this would be the time to fix this. > > I'll let someone with more seniority actually write this up - but plea

Re: [PHP-DEV] [RFC] Fix the Tenary Operator -- Please!? Please?

2015-03-26 Thread Stanislav Malyshev
Hi! > Since 7 is allowed to have BC breaks this would be the time to fix this. > > I'll let someone with more seniority actually write this up - but please, > please fix this - it's a very long standing annoyance. The way to do this would be to submit an RFC and put it to vote. Unfortunately, it

Re: [PHP-DEV] [RFC] Fix the Tenary Operator -- Please!? Please?

2015-03-26 Thread Rowan Collins
On 26 March 2015 20:54:12 GMT, Michael Morris wrote: >Per PHPsadness... > >http://phpsadness.com/sad/30 > >Since 7 is allowed to have BC breaks this would be the time to fix >this. > >I'll let someone with more seniority actually write this up - but >please, >please fix this - it's a very long sta

Re: [PHP-DEV] [RFC] Fix the Tenary Operator -- Please!? Please?

2015-03-26 Thread Michael Morris
It's not a feature though - it's a bug. It's just one of those bugs that the fixing of which may break something. On Thu, Mar 26, 2015 at 6:31 PM, Rowan Collins wrote: > On 26 March 2015 20:54:12 GMT, Michael Morris wrote: > >Per PHPsadness... > > > >http://phpsadness.com/sad/30 > > > >Since 7

Re: [PHP-DEV] [RFC] Fix the Tenary Operator -- Please!? Please?

2015-03-26 Thread Alain Williams
On Thu, Mar 26, 2015 at 10:31:00PM +, Rowan Collins wrote: > What I've always been annoyed by is the *precedence* of the operator - having > to add brackets to mix it with string concatenation, etc - which it turns out > to is the same in all sorts of languages. It is the ''all sorts of lan

Re: [PHP-DEV] [RFC] Fix the Tenary Operator -- Please!? Please?

2015-03-26 Thread Kris Craig
On Thu, Mar 26, 2015 at 3:40 PM, Alain Williams wrote: > On Thu, Mar 26, 2015 at 10:31:00PM +, Rowan Collins wrote: > > > What I've always been annoyed by is the *precedence* of the operator - > having to add brackets to mix it with string concatenation, etc - which it > turns out to is the s

Re: [PHP-DEV] [RFC] Fix the Tenary Operator -- Please!? Please?

2015-03-26 Thread Xinchen Hui
Hey: On Fri, Mar 27, 2015 at 1:10 PM, Kris Craig wrote: > On Thu, Mar 26, 2015 at 3:40 PM, Alain Williams wrote: > >> On Thu, Mar 26, 2015 at 10:31:00PM +, Rowan Collins wrote: >> >> > What I've always been annoyed by is the *precedence* of the operator - >> having to add brackets to mix it

Re: [PHP-DEV] [RFC] Fix the Tenary Operator -- Please!? Please?

2015-03-27 Thread Rowan Collins
On 26 March 2015 22:40:56 GMT, Alain Williams wrote: >On Thu, Mar 26, 2015 at 10:31:00PM +, Rowan Collins wrote: > >> What I've always been annoyed by is the *precedence* of the operator >- having to add brackets to mix it with string concatenation, etc - >which it turns out to is the same in

Re: [PHP-DEV] [RFC] Fix the Tenary Operator -- Please!? Please?

2015-03-27 Thread Michael Morris
Rowan, I seriously, seriously doubt anyone would write PHP 7 compliant code that only takes advantage of ternary associativity, a feature that is only occasionally useful. If they can't take the hint from the parse errors arising out of the spaceship op and all the other stuff being added, they're

Re: [PHP-DEV] [RFC] Fix the Tenary Operator -- Please!? Please?

2015-03-27 Thread Rowan Collins
Michael Morris wrote on 27/03/2015 12:03: Rowan, I seriously, seriously doubt anyone would write PHP 7 compliant code that only takes advantage of ternary associativity, a feature that is only occasionally useful. If they can't take the hint from the parse errors arising out of the spaceship op

Re: [PHP-DEV] [RFC] Fix the Tenary Operator -- Please!? Please?

2015-03-27 Thread Johannes Schlüter
On Fri, 2015-03-27 at 08:03 -0400, Michael Morris wrote: > While breaking backwards compatibility for its own sake is bad, avoiding it > to keep a bug in the system is worse in my opinion. And again, this is a > bug. If the way PHP associates could be used for something that would be > different, b

Re: [PHP-DEV] [RFC] Fix the Tenary Operator -- Please!? Please?

2015-03-27 Thread Chris Wright
On 26 March 2015 at 22:40, Michael Morris wrote: > It's not a feature though - it's a bug. It's just one of those bugs that > the fixing of which may break something. > > TL;DR -1 for 7, and -1 in general. It's not really a bug, it works according to the defined behaviour, the issue is that som

RE: [PHP-DEV] [RFC] Fix the Tenary Operator -- Please!? Please?

2015-03-27 Thread François Laupretre
> De : Xinchen Hui [mailto:larue...@php.net] > > I don't think freeze should block bug fixes... Strictly speaking, not sure it can be considered as a bug. But, even if it is, what about bugfixes that cause BC breaks ? What is the rule ? Can we introduce BC breaks after feature freeze ? The ques