Re: New construct discussion Summary
| From: | Sean Coates | Date: | Sun, 11 Jul 2004 17:32:14 +0000 |
| Subject: | Re: New construct discussion Summary | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-11091@lists.php.net to get a copy of this message | ||
Not meaning to add more confusion, but Coldfusion (yes yes, please keep laughter to a minimum) has had a similar function since the beginning (IIRC).
it's <cfparam ... >
http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-b13.htm
Perhaps a php function "param(...)" ? Even though it's not always a request parameter we'll (developers) be checking, this will be true in most cases.
S
[the following heavily edited:]
These include: ifset(), ifelse(), ifexists() nvl(), ifnull() and coalesce() have been proposed because of This currently leaves us with a hand full of names, including: ifsetor(), firstset(), getval()/getvalue()/get_value()fix() safe_init() discern() concretize() php_variable_quantum_waveform_collapse() $a = is($_GET['index'], $default); $a = isor($_GET['index'], $default); $a = valid($_GET['index'], $default); $a = value($_GET['index'], $default);