Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:61401 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 98008 invoked from network); 18 Jul 2012 14:37:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Jul 2012 14:37:21 -0000 Authentication-Results: pb1.pair.com header.from=ajfweb@googlemail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ajfweb@googlemail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 74.125.82.170 as permitted sender) X-PHP-List-Original-Sender: ajfweb@googlemail.com X-Host-Fingerprint: 74.125.82.170 mail-we0-f170.google.com Received: from [74.125.82.170] ([74.125.82.170:34778] helo=mail-we0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BB/5B-39169-02AC6005 for ; Wed, 18 Jul 2012 10:37:20 -0400 Received: by weyr1 with SMTP id r1so1160772wey.29 for ; Wed, 18 Jul 2012 07:37:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=jMHXFBvrgMa29xUxwHWil6fsQeyoSRojAJC3bvuDj2o=; b=xFa2iQwES8P1Un1YU2Qj165KU4Ot6TU73+0t+gCMRd/q2f3b/gkEa0Qg6OqTDQtDLi sTzaiiqrrt43udqmVChAllN+CYqLIVHInFw4k4666Bp8zQsUPovF4EyyhW7CN6VCnCsT 7DTPrt99jE1t/RXsJLQyX5qDki/7Ez32s8grels9NlxOKaUY1pPVoussfUFfF2P9VsC4 8aPeT/PLPiyMo7NoFomy6FL28TWC7UTj4YslbKW+wD2FfvXaj9L9P123sOBZYT7LE9LY U8Z9wOKG6XR6DU0pe17cJnpfe2i3oTnc/4pcN/4Xg49oDe6CrN0Yj46yOXBI6MBW2WzF jkNQ== MIME-Version: 1.0 Received: by 10.216.220.89 with SMTP id n67mr789742wep.73.1342622237806; Wed, 18 Jul 2012 07:37:17 -0700 (PDT) Received: by 10.216.160.16 with HTTP; Wed, 18 Jul 2012 07:37:17 -0700 (PDT) Received: by 10.216.160.16 with HTTP; Wed, 18 Jul 2012 07:37:17 -0700 (PDT) In-Reply-To: References: Date: Wed, 18 Jul 2012 15:37:17 +0100 Message-ID: To: Rafael Dohms Cc: Anthony Ferrara , PHP internals Content-Type: multipart/alternative; boundary=0016e6d77ce38d522e04c51b994a Subject: Re: [PHP-DEV] Implicit isset in ternary operator From: ajfweb@googlemail.com (Andrew Faulds) --0016e6d77ce38d522e04c51b994a Content-Type: text/plain; charset=UTF-8 Sounds good. CoffeeScript (a lightweight language with JS semantics that compiles to JS) has a existential operator, "?", and this looks similar and would be very nice. It's not the same thing, of course. It also reminds me of JavaScript's || behaviour. On Jul 18, 2012 3:24 PM, "Rafael Dohms" wrote: > On Wed, Jul 18, 2012 at 4:20 PM, Anthony Ferrara >wrote: > > > > > Does this seem like a possible improvement we can work on? Anyone > >> interested in championing the change? > >> > > > > I like it in principle. My only concern is *why* wasn't it done this way > > in the first place... Is there a reason? > > > > > I don't recall correctly, there was a thread on this by David Coalier some > time ago, but it went completely off course and i remember BC breaks were > part of the reason. I think we have a good plan for BC breaks now, so why > not rethink this. > > > > Anthony > > > > > > > -- > Rafael Dohms > PHP Evangelist and Community Leader > http://www.rafaeldohms.com.br > http://www.phpsp.org.br > --0016e6d77ce38d522e04c51b994a--