On 24.04.2019 at 19:25, Sara Golemon wrote: > On Tue, Apr 23, 2019 at 3:56 AM Nikita Popov <nikita....@gmail.com> wrote: > >> 20 years of code in the wild has not "accepted that fact and moved on". If >> a left-associative ternary is used, it is almost certainly a bug. If people >> use this structure by accident (because it is familiar from other >> programming languages), I'd like them to get an error instead of having to >> figure out why their obviously correct code is not working or, in the worse >> case, just leave behind buggy code. > > I'm on dismal wifi at the moment, else I'd do some searches, but do you > have any examples of code in the wild subject to this bug? > I agree it's a lousy state, but it's not emergent.
See <https://externals.io/message/105345#105389>. -- Christoph M. Becker -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php