Hi all, On Wed, Aug 3, 2016 at 3:43 PM, Yasuo Ohgaki <yohg...@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!
I updated RFC so that proposed function names to have "filter_assert_" prefix. Since input validation could mean various things, I added more descriptions about input validation and secure coding. https://wiki.php.net/rfc/add_validate_functions_to_filter ToDo - Rename function in PR - Add flag for allowing TAB in string - Use php_error_docref() for usage mistakes - Finish filter_check_definition implementation() - Add API that retrieves array key name that raises exception. If these are finished, it's good to go for vote. If I'm missing something or you have suggestions, please let me know soon. Thank you! -- Yasuo Ohgaki yohg...@ohgaki.net -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php