Re: A validator module for PHP7
| From: | lists@rhsoft.net | Date: | Mon, 11 Sep 2017 21:35:41 +0000 |
| Subject: | Re: A validator module for PHP7 | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-100524@lists.php.net to get a copy of this message | ||
Am 11.09.2017 um 23:07 schrieb Yasuo Ohgaki
On Tue, Sep 12, 2017 at 12:22 AM, Stephen Reay <php-lists@koalephant.com>So, you still didn’t actually provide an example. I *guess* you’re talking about character class validation or something else equally “simple”, because I can’t imagine what else would be a common enough case that you’d want to have built-in rules for, and that you wouldn’t internally use RegExp to test anyway.Your request is like "Devil's Proof". Example code that cannot do things with existing API cannot exist with meaningful manner. It can be explained why it cannot, though. Try what "validate" string validator can do, Then you'll see. There is no STRING validation filter currently. This fact alone, it could be said "filter cannot do string validation currently". List of problems in current validation filter but you still fail to explain why in the world you don#t try to enhance the existing filter functions instead invent a new beast leading finally to have the existin filter functions and your new stuff which share the same intention