Re: Fix incorrect ternary '?' associativity for 7.0?

From: Date: Sat, 13 Dec 2014 23:02:55 +0000
Subject: Re: Fix incorrect ternary '?' associativity for 7.0?
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-79624@lists.php.net to get a copy of this message
Hey Leon, > On 13 Dec 2014, at 22:45, Leon Sorokin <leeoniya@gmail.com> wrote: > > I was wondering if 7.0 could be the version to fix the long-standing incorrect ternary > associativity bug in PHP [1]. This seems especially worthy of reconsideration since the Null > Coalesce RFC has been accepted and merged [2] with the correct associativity [3]. > > The major version change seems like the only time to get this done in PHP. I’d love to see this fixed. I would be surprised if any code relies on the current behaviour and doesn’t just use brackets, since it’s so unintuitive. Thanks. -- Andrea Faulds http://ajf.me/

« previous php.internals (#79624) next »