Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85486 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5131 invoked from network); 26 Mar 2015 22:40:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Mar 2015 22:40:29 -0000 Authentication-Results: pb1.pair.com smtp.mail=dmgx.michael@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dmgx.michael@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.171 as permitted sender) X-PHP-List-Original-Sender: dmgx.michael@gmail.com X-Host-Fingerprint: 209.85.212.171 mail-wi0-f171.google.com Received: from [209.85.212.171] ([209.85.212.171:33290] helo=mail-wi0-f171.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AC/F5-00585-BDA84155 for ; Thu, 26 Mar 2015 17:40:28 -0500 Received: by wixm2 with SMTP id m2so22068286wix.0 for ; Thu, 26 Mar 2015 15:40:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=zmW/hKpLp5juTlNQDV7pamUY0cWKJtu6iwfTnUL/Yfk=; b=wxskF6bo5uXYgb007hfGxsF+n47ZW0doKBNKjG2A+K3DZ2AqZh++WY1HO6Hpt4NEXi E3Hl6LHtQ8BTd6zo7vxbrAUVbyX//WfgeZXXFGkfxrnnYBWlXp/CmdBRqPIERlZscKRL mSrDuKoUpPjU3JJcsD9NgdcIysbwhO8gGMp4hku27uq8cbo2ypYrO9bP7REmh6zDfFK/ YTjD0wZgX3ejjLdokVmad05k5/ku5CeVMJF5/E9nXCTZnFCF8zPDb9OmR7jqqH9GQJOc SObLT4ceahdVUiUEtWLyQJwQDTDCW33GBnK5zEWbAByjk/7jvn54ICXwR1g/mbRYJeAd oe0g== MIME-Version: 1.0 X-Received: by 10.194.211.104 with SMTP id nb8mr32814785wjc.51.1427409624651; Thu, 26 Mar 2015 15:40:24 -0700 (PDT) Sender: dmgx.michael@gmail.com Received: by 10.194.86.41 with HTTP; Thu, 26 Mar 2015 15:40:24 -0700 (PDT) In-Reply-To: References: Date: Thu, 26 Mar 2015 18:40:24 -0400 X-Google-Sender-Auth: -c9Zg4Z8Cu54unKxBgj9dEvYIOg Message-ID: To: PHP Internals List Content-Type: multipart/alternative; boundary=001a113338f2a05c1f051238b368 Subject: Re: [PHP-DEV] [RFC] Fix the Tenary Operator -- Please!? Please? From: tendoaki@gmail.com (Michael Morris) --001a113338f2a05c1f051238b368 Content-Type: text/plain; charset=UTF-8 It's not a feature though - it's a bug. It's just one of those bugs that the fixing of which may break something. On Thu, Mar 26, 2015 at 6:31 PM, Rowan Collins wrote: > On 26 March 2015 20:54:12 GMT, Michael Morris wrote: > >Per PHPsadness... > > > >http://phpsadness.com/sad/30 > > > >Since 7 is allowed to have BC breaks this would be the time to fix > >this. > > > >I'll let someone with more seniority actually write this up - but > >please, > >please fix this - it's a very long standing annoyance. > > I used to think this was a major nuisance, but recently thought about it > and decided I've never once wanted to do this - the result is really ugly > code whatever the associativity. > > What I've always been annoyed by is the *precedence* of the operator - > having to add brackets to mix it with string concatenation, etc - which it > turns out to is the same in all sorts of languages. > > Regards, > -- > Rowan Collins > [IMSoP] > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --001a113338f2a05c1f051238b368--