Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:11006 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97715 invoked by uid 1010); 8 Jul 2004 23:41:39 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 97657 invoked from network); 8 Jul 2004 23:41:38 -0000 Received: from unknown (HELO miranda.org) (209.58.150.153) by pb1.pair.com with SMTP; 8 Jul 2004 23:41:38 -0000 Received: (qmail 11803 invoked by uid 546); 8 Jul 2004 23:41:38 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 8 Jul 2004 23:41:38 -0000 Date: Thu, 8 Jul 2004 19:41:38 -0400 (EDT) X-X-Sender: adam@miranda.org To: Marc Richards cc: internals@lists.php.net In-Reply-To: <20040708233326.73283.qmail@pb1.pair.com> Message-ID: 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> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] what happened to that new isset() like language From: adam@trachtenberg.com (Adam Maccabee Trachtenberg) On Thu, 8 Jul 2004, Marc Richards wrote: > Are you saying PHP will never introduce an operator that doesn't already > exist in a large number of other languages? I certainly hope not. (Well, I guess === and !=== are exceptions to this statement.) > 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. -adam -- adam@trachtenberg.com author of o'reilly's "upgrading to php 5" and "php cookbook" avoid the holiday rush, buy your copies today!