Re: [RFC][DISCUSSION] Add validation functions to filter

From: Date: Fri, 12 Aug 2016 11:35:39 +0000
Subject: Re: [RFC][DISCUSSION] Add validation functions to filter
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-95096@lists.php.net to get a copy of this message
Hi all, On Wed, Aug 3, 2016 at 3:43 PM, Yasuo Ohgaki <yohgaki@ohgaki.net> wrote: > This RFC is to add validation functions and string validation filter. > > https://wiki.php.net/rfc/add_validate_functions_to_filter > > It also allows to define multiple filters for an input. i.e. You can > apply multiple filter rules for an input. > > Comments are appreciated! There is missing special validation filter for optional inputs. It might be better to add this after code refactoring, because "optional" filter requires special behavior. If I add this now, I have to rewrite lots of existing code, probably. I would like to start voting soon. Anyone who has comment, please let me know ASAP. Davey, I'm keeping target version option. Please let me know if you feel uncomfortable with this new feature to PHP 7.1. It's pure new feature that does not affect existing one at all. This would be great addition for PHP 7.1. IMHO. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net

« previous php.internals (#95096) next »