Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77297 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 7997 invoked from network); 17 Sep 2014 16:41:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Sep 2014 16:41:01 -0000 Authentication-Results: pb1.pair.com header.from=matthewfonda@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=matthewfonda@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.176 as permitted sender) X-PHP-List-Original-Sender: matthewfonda@gmail.com X-Host-Fingerprint: 209.85.223.176 mail-ie0-f176.google.com Received: from [209.85.223.176] ([209.85.223.176:35172] helo=mail-ie0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 24/48-57031-B99B9145 for ; Wed, 17 Sep 2014 12:41:00 -0400 Received: by mail-ie0-f176.google.com with SMTP id ar1so2124206iec.35 for ; Wed, 17 Sep 2014 09:40:57 -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:from:date:message-id :subject:to:cc:content-type; bh=uYN5kyvdqeAPyHelS3mQO3ETDwWHJRV6s5tEWyzIEN4=; b=zz4X/5GLqQ7SiAV9NI9nx01GwGgyEWvlK+576L1bHwlzG0w29URg/wb3RKOf/ZmXDV QEivTdKOgkFWlJnZmSdKLAjpzaBLVI+EHQTAT4owsb1frLe4qBlp4Q8GmyMyKRh4bFg7 8TaMSt9L0oUjzchpBm8Jyev/CHL4gH+7EGlGE7ffE+5P0UimJmySb3S1fPEYqH4PNmC5 fqKGVog75QJgLyBGHIb7am8N7j+82+Tu8MRauM3nvqX/fHLZra9jyqm6e/bHHiAICl05 cB+QtrvOfFGa8bJ/auMbaZgV/wPjNrs1tf82O66JaIXsNw4BECjdl36fWyY4xcrrITKJ CFkg== X-Received: by 10.50.122.99 with SMTP id lr3mr40049578igb.10.1410972056949; Wed, 17 Sep 2014 09:40:56 -0700 (PDT) MIME-Version: 1.0 Sender: matthewfonda@gmail.com Received: by 10.50.92.101 with HTTP; Wed, 17 Sep 2014 09:40:26 -0700 (PDT) In-Reply-To: References: Date: Wed, 17 Sep 2014 09:40:26 -0700 X-Google-Sender-Auth: 716mO3goWods9Wdh4tX-n0WvE4U Message-ID: To: Andrea Faulds Cc: PHP internals Content-Type: multipart/alternative; boundary=089e0153835a3ee6690503458808 Subject: Re: [PHP-DEV] [RFC] Implicit isset() in Shorthand Ternary Operator From: mfonda@php.net (Matthew Fonda) --089e0153835a3ee6690503458808 Content-Type: text/plain; charset=UTF-8 Hi Andrea, This is great -- thanks to you and Nikita for the work here. Syntax wise, I would prefer a function-like syntax, e.g. coalesce($a, $b, 'c') or ifsetor() instead of $a ?? $b ?? 'c'. I find this more readable, and it avoids any possible confusion about precedence within the expressions. Either way, still +1 for this feature. Best regards, --Matthew --089e0153835a3ee6690503458808--