> On Sep 4, 2017, at 18:06, Marco Pivetta <ocram...@gmail.com> wrote:
> 
> On Mon, Sep 4, 2017 at 8:56 PM, Crocodile <crocodil...@gmail.com> wrote:
> 
>> In most cases users would like more than just valid/invalid, i. e. which
>> particular rule(s) failed and also human-readable error messages. As of
>> simple validation that is almost always at hand, filter_* functions do a
>> good job, although I agree that they could be better. I, for one, would
>> like to see a full-featured validation as part of PHP. However, this RFC
>> only looks like a slightly better version of filter_* functions, that is,
>> the new module will provide almost the same functionality but with a
>> different interface. I would vote against it.
>> 
> 
> And also, it would need to be better than all of these to be worth writing
> it in C:
> 
> https://packagist.org/search/?q=validator

And these as well: https://packagist.org/search/?q=filter

(Or at least have some level of parity.)


-- 
Paul M. Jones
pmjone...@gmail.com
http://paul-m-jones.com

Modernizing Legacy Applications in PHP
https://leanpub.com/mlaphp

Solving the N+1 Problem in PHP
https://leanpub.com/sn1php




-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to