Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:11121 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 65874 invoked by uid 1010); 12 Jul 2004 13:19:01 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 65721 invoked by uid 1007); 12 Jul 2004 13:19:00 -0000 Message-ID: <20040712131900.65720.qmail@pb1.pair.com> To: internals@lists.php.net Date: Mon, 12 Jul 2004 15:18:36 +0200 User-Agent: Mozilla Thunderbird 0.7a (Windows/20040614) X-Accept-Language: en-us, en MIME-Version: 1.0 References: <20040708002654.7442.qmail@pb1.pair.com> <20040711024958.14248.qmail@pb1.pair.com> In-Reply-To: <20040711024958.14248.qmail@pb1.pair.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 80.126.99.118 Subject: Re: New construct discussion Summary From: bert@procurios.nl (Bert Slagter) Marc Richards wrote: > 3) So this leaves a function call which begs two questions: What do we > call it, and what is the function syntax. > > (a) What do we call it We have a function that pretty much serves the same purpose: makeset($var, 'default'). The name was born because this function was made to replace a list of statements that make sure a variable is set: if (!isset($_REQUEST['foo'])) $_REQUEST['foo'] = 0; This is a function that takes its first argument by reference btw... But my point was the name, maybe some of you might like it :). Bert