Re: New construct discussion Summary
| From: | Bert Slagter | Date: | Mon, 12 Jul 2004 13:18:36 +0000 |
| Subject: | Re: New construct discussion Summary | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-11121@lists.php.net to get a copy of this message | ||
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 itWe 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