Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19802 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26645 invoked by uid 1010); 29 Oct 2005 01:48:22 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 26630 invoked from network); 29 Oct 2005 01:48:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Oct 2005 01:48:22 -0000 X-Host-Fingerprint: 66.249.82.201 xproxy.gmail.com Linux 2.4/2.6 Received: from ([66.249.82.201:23406] helo=xproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 7F/12-01249-6E4D2634 for ; Fri, 28 Oct 2005 21:48:22 -0400 Received: by xproxy.gmail.com with SMTP id t13so358263wxc for ; Fri, 28 Oct 2005 18:48:18 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=btrb7XOZrH+qRCJiJPgUofiQnSUq2lkJq/lo1o2nZdoHgHjT96vG+LmhjWG2XmnnFqRuLR5mZfkWOyEuVlxCdvKHXx2kmuaSQ9foOPB9+6zQFeXmQLM3mMvi+VhNF95aexyJEFb+gc3S27zIIlaG+mInTwxDfjHztxAuW1lPHAw= Received: by 10.65.38.7 with SMTP id q7mr544702qbj; Fri, 28 Oct 2005 18:48:18 -0700 (PDT) Received: by 10.64.183.1 with HTTP; Fri, 28 Oct 2005 18:48:18 -0700 (PDT) Message-ID: <4e36d31d0510281848r11118745jc65e412715690485@mail.gmail.com> Date: Fri, 28 Oct 2005 18:48:18 -0700 To: internals@lists.php.net In-Reply-To: <4362C5F4.8090004@safesearching.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4362C5F4.8090004@safesearching.com> Subject: Re: [PHP-DEV] what happened to that new isset() like language From: buddhahead@gmail.com (Sebastian) Wow, it'll be just like perl! this is so great. On 10/28/05, James Crumpton wrote: > Andi Gutmans wrote: > > I don't think it's a matter of giving the engine a try. I think we fir= st need > > to make a decision what the best way to go is and then we can discuss > > implementation if/what is possible. Once 5.0.0 is out I'm going to hav= e more > > time look into this. > > What's the word on this? > > Some of the names given were: > issetor > ifsetor > ifset > ifnull > coalesce > > I'm actually kind of partial to: > > $a =3D $foo || $bar; > $a =3D $foo || $bar || $xyz || $etc; > > Or better yet (or maybe in addition too): > > $a['foo'] ||=3D 'bar'; // if set do nothing, otherwise assign 'bar' > > > -james > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- ------------- buddhahead@gmail.com