Re: Prefixing names of new filter functions with filter_
| From: | Andrei Zmievski | Date: | Thu, 14 Sep 2006 05:23:25 +0000 |
| Subject: | Re: Prefixing names of new filter functions with filter_ | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-4124@lists.php.net to get a copy of this message | ||
On Sep 13, 2006, at 10:58 PM, Dan Scott wrote:
filter_data -- no change input_filters_list -> filter_names input_get_args -> filter_get_variable_array ("variable" matches terminology in http://php.net/manual/en/language.variables.external.php, array is explicit) input_get -> filter_get_variable (will sort alphabetically before filter_get_variable_array)This function is going to get used -a lot-, so I'd rather it were shorter: something like filter_get_var, or even filter_get.
input_has_variable -> filter_variable_exists (matches array_key_exists precedent)Same thing: filter_var_exists.
input_name_to_filter -> filter_id-Andrei