Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:111187 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 20455 invoked from network); 25 Jul 2020 18:06:34 -0000 Received: from unknown (HELO localhost.localdomain) (76.75.200.58) by pb1.pair.com with SMTP; 25 Jul 2020 18:06:34 -0000 To: internals@lists.php.net References: <9f990f47-c634-9ea0-e501-504ae1aec1ca@telia.com> Date: Sat, 25 Jul 2020 19:01:48 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.2 MIME-Version: 1.0 In-Reply-To: <9f990f47-c634-9ea0-e501-504ae1aec1ca@telia.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Posted-By: 46.59.72.204 Subject: Re: [PHP-DEV] Ternary associativity From: ajf@ajf.me (Andrea Faulds) Message-ID: Hey, Björn Larsson wrote: > > Would it then make sense to have it as compile time error in 8.0 and > make it right-associativein in e.g. 8.1? > > OTOH, when looking in RFC on top 1000 affected composer packages > it looks like having the change in 8.0 might be a way forward... > > r//Björn L I think 7.4 and 8.1 are too close to eachother, only two versions apart. There's probably a lot of people out there who don't upgrade PHP version yearly, so they might write 7.4 code and then hop over to 8.1, and oops, it's silently broken! I see other threads suggesting changing in 9.x which seems less problematic, I guess. Regards, Andrea