Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:11008 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42845 invoked by uid 1010); 8 Jul 2004 23:53:41 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 42768 invoked by uid 1007); 8 Jul 2004 23:53:41 -0000 Message-ID: <20040708235341.42767.qmail@pb1.pair.com> To: internals@lists.php.net Date: Thu, 08 Jul 2004 19:53:16 -0400 User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) X-Accept-Language: en-us, en MIME-Version: 1.0 References: <5.1.0.14.0.20040707203931.02fa6200@mail.ionzoft.com> <40ED64A0.7050305@cschneid.com> <20040708151952.92187.qmail@pb1.pair.com> <20040708215205.23281.qmail@pb1.pair.com> <20040708222005.4329.qmail@pb1.pair.com> <20040708233326.73283.qmail@pb1.pair.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 130.58.81.153 Subject: Re: [PHP-DEV] what happened to that new isset() like language From: contact_marcos@yahoo.es (Marc Richards) Adam Maccabee Trachtenberg wrote: > On Thu, 8 Jul 2004, Marc Richards wrote: > >>Compound Ternary operator: >> >>$a = $b ?: $c; > > > You realize that ternary means it takes three arguments? It has > nothing to do with question marks and colons. Your new "compound > ternary" operator is really a "binary" operator. Good point. As you can probably guess, I just made it up on a whim. Like I said, I am on the fence about "marketing" it as related to the ternary operator. But the fact still remains that if we did go with this syntax, we could and probably should find a name for it. Marc