Re: ext/filter, Final API proposal

From: Date: Sun, 17 Sep 2006 17:38:17 +0000
Subject: Re: ext/filter, Final API proposal
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-25748@lists.php.net to get a copy of this message
Hello, On 9/17/06, Ilia Alshanetsky <ilia@prohost.org> wrote:
On 17-Sep-06, at 12:05 PM, Michael Wallner wrote: Ilia Alshanetsky wrote:
These looks good. The only other suggestion is to explore the option of renaming filter_get_args() to filter_get_variable() so it is a bit more consistent with filter_has_variable().
What about filter_get_var() and filter_has_var()?
One is about many values and the other a single one. I find filter_get_var confusing and it does not reflect what does the function, it shoutould be filter_get_vars. I prefer filter_get_args though. --Pierre

« previous php.internals (#25748) next »