Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19801 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13461 invoked by uid 1010); 29 Oct 2005 00:36:03 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 13446 invoked from network); 29 Oct 2005 00:36:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Oct 2005 00:36:03 -0000 X-Host-Fingerprint: 209.151.233.3 jekyll.safesearching.com Linux 2.4/2.6 Received: from ([209.151.233.3:39631] helo=jekyll.safesearching.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 3F/F0-01249-2F3C2634 for ; Fri, 28 Oct 2005 20:36:03 -0400 Received: (qmail 1553 invoked from network); 28 Oct 2005 17:35:58 -0700 Received: from adsl-67-112-238-195.dsl.lsan03.pacbell.net (HELO ?192.168.1.135?) (67.112.238.195) by jekyll.safesearching.com with SMTP; 28 Oct 2005 17:35:58 -0700 Message-ID: <4362C5F4.8090004@safesearching.com> Date: Fri, 28 Oct 2005 17:44:36 -0700 User-Agent: Thunderbird 1.4.1 (Windows/20051006) MIME-Version: 1.0 To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] what happened to that new isset() like language From: james@safesearching.com (James Crumpton) Andi Gutmans wrote: > I don't think it's a matter of giving the engine a try. I think we first 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 have 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 = $foo || $bar; $a = $foo || $bar || $xyz || $etc; Or better yet (or maybe in addition too): $a['foo'] ||= 'bar'; // if set do nothing, otherwise assign 'bar' -james