Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100527 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40443 invoked from network); 11 Sep 2017 21:50:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Sep 2017 21:50:01 -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:45872] helo=es-i.jp) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 36/9B-10715-40507B95 for ; Mon, 11 Sep 2017 17:50:00 -0400 Received: (qmail 16138 invoked by uid 89); 11 Sep 2017 21:49:53 -0000 Received: from unknown (HELO mail-it0-f46.google.com) (yohgaki@ohgaki.net@209.85.214.46) by 0 with ESMTPA; 11 Sep 2017 21:49:53 -0000 Received: by mail-it0-f46.google.com with SMTP id o200so23127220itg.0 for ; Mon, 11 Sep 2017 14:49:52 -0700 (PDT) X-Gm-Message-State: AHPjjUj0YKIHgaHtW090k8cELlHdl/ze4AEUri538GpwvPFQ7cHbJbgx 94hxKkFJYxfv3lS5Kbtcw5DpoxxmkmTjZH/u7g== X-Google-Smtp-Source: AOwi7QCRfeb4YUmzNr7Cj8uXwmWZHWNlC+k1Hqnt6X6xJSxVyLU3ZmsIzTdoXnRBeUr7IbQy6DJRwtxf+rBjZHV3Mz8= X-Received: by 10.36.57.143 with SMTP id l137mr2368422ita.56.1505166587376; Mon, 11 Sep 2017 14:49:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.72.5 with HTTP; Mon, 11 Sep 2017 14:49:06 -0700 (PDT) In-Reply-To: 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:49:06 +0900 X-Gmail-Original-Message-ID: Message-ID: To: "lists@rhsoft.net" Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary="001a114ab5d4c4bc700558f0e7fe" Subject: Re: [PHP-DEV] A validator module for PHP7 From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a114ab5d4c4bc700558f0e7fe Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, On Tue, Sep 12, 2017 at 6:39 AM, Yasuo Ohgaki wrote: > 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* yo= u=E2=80=99re >>>> talking >>>> about character class validation or something else equally =E2=80=9Csi= mple=E2=80=9D, >>>> because I can=E2=80=99t imagine what else would be a common enough cas= e that >>>> you=E2=80=99d >>>> want to have built-in rules for, and that you wouldn=E2=80=99t interna= lly use >>>> RegExp to test anyway. >>>> >>> >>> Your request is like "Devil's Proof". Example code that cannot do thing= s >>> 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 sam= e >> intention >> >> > Why don't you read previous RFC and the vote result? > https://wiki.php.net/rfc/add_validate_functions_to_filter > I'm a bit surprised by the fact there are "filter improvement" supporters. You should have participated in the previous RFC discussion. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a114ab5d4c4bc700558f0e7fe--