Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79623 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80316 invoked from network); 13 Dec 2014 23:00:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Dec 2014 23:00:06 -0000 Received: from [127.0.0.1] ([127.0.0.1:15520]) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ECSTREAM id B9/00-14066-5F4CC845 for ; Sat, 13 Dec 2014 18:00:05 -0500 X-Host-Fingerprint: 66.87.77.46 unknown Received: from [66.87.77.46] ([66.87.77.46:21071] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B6/00-14066-691CC845 for ; Sat, 13 Dec 2014 17:45:42 -0500 Message-ID: To: internals@lists.php.net Date: Sat, 13 Dec 2014 16:45:28 -0600 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 66.87.77.46 Subject: Fix incorrect ternary '?' associativity for 7.0? From: leeoniya@gmail.com (Leon Sorokin) Hi guys, 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. [1] https://bugs.php.net/bug.php?id=61915 [2] https://wiki.php.net/rfc/isset_ternary [3] http://news.php.net/php.internals/79584 thanks, -- Leon Sorokin