Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:11011 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69102 invoked by uid 1010); 9 Jul 2004 02:16:12 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 69078 invoked from network); 9 Jul 2004 02:16:11 -0000 Received: from unknown (HELO hyperion-data.net) (204.200.195.9) by pb1.pair.com with SMTP; 9 Jul 2004 02:16:11 -0000 Received: from calhoun (c-67-172-232-170.client.comcast.net [67.172.232.170]) (authenticated bits=0) by hyperion-data.net (8.12.11/8.12.11) with ESMTP id i692GAAa084762 for ; Fri, 9 Jul 2004 02:16:11 GMT Message-ID: <002901c4655a$b860f340$6601a8c0@calhoun> To: References: <5.1.0.14.0.20040708191525.023e7ff0@mail.ionzoft.com> <20040708234919.24862.qmail@pb1.pair.com> Date: Thu, 8 Jul 2004 20:16:17 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Subject: Re: [PHP-DEV] what happened to that new isset() like language From: daniel@hyperion-data.net ("Daniel Crookston") Oh baby, oh baby. I was undecided (and really just didn't care about it either way) but when Marc put it this way (see the bottom line there) I was sold. That's just sexy. -Dan, who perhaps gets a bit *too* into this sort of thing... > I am interested in the new construct for the exact same reason, E_ALL > development. I am intersted in the ?: operator because it looks alot > simpler, especially if you want to chain them together: > > $user = $_SESSION['user] ?: $_POST['user'] ?: $local_user ?: NULL;