Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:10963 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 65171 invoked by uid 1010); 8 Jul 2004 00:39:38 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 65139 invoked from network); 8 Jul 2004 00:39:38 -0000 Received: from unknown (HELO theta.altoona-pa.com) (209.161.72.28) by pb1.pair.com with SMTP; 8 Jul 2004 00:39:38 -0000 Received: from ionzoft-jeg.ionzoft.com (dpvc-207-68-114-163.alt.east.verizon.net [207.68.114.163]) by theta.altoona-pa.com (Postfix) with ESMTP id F413514D15; Wed, 7 Jul 2004 20:39:37 -0400 (EDT) Message-ID: <5.1.0.14.0.20040707203931.02fa6200@mail.ionzoft.com> X-Sender: izftjason@mail.ionzoft.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 07 Jul 2004 20:39:40 -0400 To: internals@lists.php.net, contact_marcos@yahoo.es Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] what happened to that new isset() like language construct From: jason@ionzoft.com (Jason Garber) Hi Marc, What we basically settled on was to use this syntax (as a new language construct): $x = ifsetor(mixed variable, mixed default); If I recall correctly, Marcus had a patch that implemented it and it was going to be plugged in in the 4.1 branch (when it is created). I'm eagerly waiting for it also :) Sincerely, Jason Garber At 7/7/2004 08:26 PM -0400, Marc Richards wrote: >On 4/15/2004 Jason Garber asked about a new language construct to simplify >testing if a variable isset() and assinging a default value for those that >aren't. The thread title was "Construct Request". > > >I rember reading it while the discussion went on, I just went back and >browsed through it again. Everyone seemed to agree the it was generally a >good idea and there was some minimal amount of consensus on the ?: syntax, >but I can't tell if this was ever implemented. > >Was it? If not did I miss the reason why? > > >Marc > >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php