Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85503 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69958 invoked from network); 27 Mar 2015 12:24:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Mar 2015 12:24:18 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.215.10 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.215.10 mail.experimentalworks.net Received: from [217.114.215.10] ([217.114.215.10:38712] helo=mail.experimentalworks.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BC/B4-38005-0FB45155 for ; Fri, 27 Mar 2015 07:24:17 -0500 Received: by mail.experimentalworks.net (Postfix, from userid 1003) id 3639A49B8B; Fri, 27 Mar 2015 13:24:52 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on km31408.keymachine.de X-Spam-Level: * X-Spam-Status: No, score=1.7 required=3.0 tests=ALL_TRUSTED, DNS_FROM_AHBL_RHSBL,PLING_QUERY autolearn=no version=3.3.2 X-Spam-HAM-Report: * 2.4 DNS_FROM_AHBL_RHSBL RBL: Envelope sender listed in dnsbl.ahbl.org * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 0.3 PLING_QUERY Subject has exclamation mark and question mark Received: from [192.168.2.34] (ppp-93-104-7-34.dynamic.mnet-online.de [93.104.7.34]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: johannes@schlueters.de) by mail.experimentalworks.net (Postfix) with ESMTPSA id 6435D49B8A; Fri, 27 Mar 2015 13:24:50 +0100 (CET) Message-ID: <1427459047.17377.23.camel@kuechenschabe> To: Michael Morris Cc: PHP Internals List Date: Fri, 27 Mar 2015 13:24:07 +0100 In-Reply-To: References: <20150326224056.GB28328@phcomp.co.uk> <822A4769-D028-425A-A1A9-0626414B9B29@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Fix the Tenary Operator -- Please!? Please? From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) 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, but it can't. I honestly doubt any code even exists that takes > advantage of the current behavior. What you are suggesting is not just "breaking BC" but "Changing behavior of code in a hard to debug way" as previously working code will suddenly start to do something else than expected probably without emitting any error. If you want this to run this requires a clear migration strategy for the billions of lines of code out there. Till this is provided please help focusing on things we can actually improve, like testing PHP 7 to make sure it will be a stable release. Thanks, johannes