On 16/09/06, Pierre <[EMAIL PROTECTED]> wrote:

<snip>

Proposal:
**********

I. Availalbe functions:
   -------------------

* input_get
Gets variable from outside PHP or from a userland variable and
optionally filters it using one filter and its options or flags. It
accepts only scalar by default, array can be returned using
ALLOW_ARRAY.

* input_get_args
Gets multiple variables from outside PHP or from a userland variable
and optionally filters them using different filters and options/flags.
It accepts only scalar by default, array can be returned using
ALLOW_ARRAY.

* input_has_variable
Checks if variable of specified type exists.

* input_name_to_filter
Returns the filter ID belonging to a named filter

Minor: Can this be something like 'input_identify_filter' or
'input_id_filter'? The current name of the function doesn't suggest to
me that I'm going to get an ID back; it currently sounds like I'm
sending a name into a filter.

* input_ filters_ list
Returns a list of all supported filters

Minor: the general structure of the function names are
<prefix>_<verb>_<noun>, so it would be more consistent if this was
'input_list_filters'.

Overall: +1 (with bonus points if you go with <prefix>_<verb>_<noun>
for the two identified cases)

Dan

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

Reply via email to