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);

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to