Re: PHP 5.1

From: Date: Wed, 02 Feb 2005 00:07:25 +0000
Subject: Re: PHP 5.1
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-14487@lists.php.net to get a copy of this message
Rasmus Lerdorf wrote:
Andi Gutmans wrote:
I definitely like the idea and thing it's important. I think as far as the filter functions are concerned this is a good way to go (although I'd change the function name but that's no biggy, filter_input?). I very much see how filter_input(POST, "email", FILTER_EMAIL) is easier as opposed to finding the right regex for emails and it's great re-use.
Yeah, I really don't care what the name of the function is. Wanted to try to keep it somewhat short since it might need to be typed a lot.
I thought my suggestion the other week was pretty good....safe_filter :-) Shane

« previous php.internals (#14487) next »