Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100526 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38742 invoked from network); 11 Sep 2017 21:40:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Sep 2017 21:40:22 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@ohgaki.net; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@ohgaki.net; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ohgaki.net designates 180.42.98.130 as permitted sender) X-PHP-List-Original-Sender: yohgaki@ohgaki.net X-Host-Fingerprint: 180.42.98.130 ns1.es-i.jp Received: from [180.42.98.130] ([180.42.98.130:45848] helo=es-i.jp) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C2/4B-10715-4C207B95 for ; Mon, 11 Sep 2017 17:40:21 -0400 Received: (qmail 15166 invoked by uid 89); 11 Sep 2017 21:40:17 -0000 Received: from unknown (HELO mail-it0-f42.google.com) (yohgaki@ohgaki.net@209.85.214.42) by 0 with ESMTPA; 11 Sep 2017 21:40:17 -0000 Received: by mail-it0-f42.google.com with SMTP id r131so8814030itc.1 for ; Mon, 11 Sep 2017 14:40:17 -0700 (PDT) X-Gm-Message-State: AHPjjUieKhKn6ZcF1NPFUa0tnmSIqD8vYd390OvLUaId9LNiASlnNjE4 Z1CL09IG7zcLn192Ig2mxSCZxV4Row== X-Google-Smtp-Source: AOwi7QBljrBbNPbz8Z9ZSuJQwq7Yv10aqP4N3UDK2a+IS+og8vY1ixnO8pFx9boUNKYB99bj6NwFt2TohD1ttfsUFLY= X-Received: by 10.36.50.150 with SMTP id j144mr15124262ita.52.1505166011719; Mon, 11 Sep 2017 14:40:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.72.5 with HTTP; Mon, 11 Sep 2017 14:39:30 -0700 (PDT) In-Reply-To: <3f900f87-ca88-a7e1-4c11-6263455f2039@rhsoft.net> References: <0db9cfa3-2b31-ee41-713c-889b7cc06406@lsces.co.uk> <3C.DD.10715.4E501B95@pb1.pair.com> <93.85.10715.AB3B3B95@pb1.pair.com> <049578E9-4C9A-42D8-B206-8ABAF070E151@koalephant.com> <05A8DB1C-4683-4934-A7DA-C7CD71E6CCB6@koalephant.com> <3f900f87-ca88-a7e1-4c11-6263455f2039@rhsoft.net> Date: Tue, 12 Sep 2017 06:39:30 +0900 X-Gmail-Original-Message-ID: Message-ID: To: "lists@rhsoft.net" Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary="001a114aafc474f5dd0558f0c5da" Subject: Re: [PHP-DEV] A validator module for PHP7 From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a114aafc474f5dd0558f0c5da Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, On Tue, Sep 12, 2017 at 6:35 AM, lists@rhsoft.net wrote: > > Am 11.09.2017 um 23:07 schrieb Yasuo Ohgaki > >> On Tue, Sep 12, 2017 at 12:22 AM, Stephen Reay >> >>> So, you still didn=E2=80=99t actually provide an example. I *guess* you= =E2=80=99re >>> talking >>> about character class validation or something else equally =E2=80=9Csim= ple=E2=80=9D, >>> because I can=E2=80=99t imagine what else would be a common enough case= that >>> you=E2=80=99d >>> want to have built-in rules for, and that you wouldn=E2=80=99t internal= ly 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 explain= ed >> 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 > > Why don't you read previous RFC and the vote result? https://wiki.php.net/rfc/add_validate_functions_to_filter Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a114aafc474f5dd0558f0c5da--