Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:94789 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87301 invoked from network); 2 Aug 2016 00:00:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Aug 2016 00:00:08 -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:58640] helo=es-i.jp) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 71/20-20009-582EF975 for ; Mon, 01 Aug 2016 20:00:07 -0400 Received: (qmail 16760 invoked by uid 89); 2 Aug 2016 00:00:01 -0000 Received: from unknown (HELO mail-qt0-f181.google.com) (yohgaki@ohgaki.net@209.85.216.181) by 0 with ESMTPA; 2 Aug 2016 00:00:01 -0000 Received: by mail-qt0-f181.google.com with SMTP id u25so114051434qtb.1 for ; Mon, 01 Aug 2016 17:00:01 -0700 (PDT) X-Gm-Message-State: AEkoouu1v9F/hr0HtXC0skttRq22qFC5+F14J9ql8bU5XofW8aSAFUMsMWLzjfCqUSL4yRYLyvnwX9F7aB4f6A== X-Received: by 10.200.38.107 with SMTP id v40mr94453538qtv.76.1470095995306; Mon, 01 Aug 2016 16:59:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.85.242 with HTTP; Mon, 1 Aug 2016 16:59:14 -0700 (PDT) In-Reply-To: References: Date: Tue, 2 Aug 2016 08:59:14 +0900 X-Gmail-Original-Message-ID: Message-ID: To: "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: Adding validate_var_array()/validate_input_array() to which version? From: yohgaki@ohgaki.net (Yasuo Ohgaki) Hi all, On Tue, Aug 2, 2016 at 7:12 AM, Yasuo Ohgaki wrote: > > Raising Exception would be prefered. > Any comment raising exception? ExceptionFilterValidate wouldn't > cause much BC, IMO. Any comments on using SPL exception? http://php.net/manual/en/class.unexpectedvalueexception.php With Exception or UnexpedtedValueException, there is no BC. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net