Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:10992 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38394 invoked by uid 1010); 8 Jul 2004 21:55:24 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 38332 invoked by uid 1007); 8 Jul 2004 21:55:23 -0000 Message-ID: <20040708215523.38331.qmail@pb1.pair.com> To: internals@lists.php.net Date: Thu, 08 Jul 2004 17:54:59 -0400 User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) X-Accept-Language: en-us, en MIME-Version: 1.0 References: <20040708002654.7442.qmail@pb1.pair.com> <1093095066.20040708032739@marcus-boerger.de> <20040708140845.13476.qmail@pb1.pair.com> <71425903.20040708205001@marcus-boerger.de> In-Reply-To: <71425903.20040708205001@marcus-boerger.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 130.58.81.153 Subject: Re: [PHP-DEV] what happened to that new isset() like language construct From: contact_marcos@yahoo.es (Marc Richards) Marcus Boerger wrote: > > ?: would require a default value. ifsetor() allows to assume NULL hence > the latter is more powerfull. Hence id like to see a new keyword. > Well am not sure what you mean by more powerful, but the character count is about the same: $a = ifsetor($b); $a = $b ?: NULL; And the second one has the advantage of being more verbose. Marc