Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:94845 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57884 invoked from network); 5 Aug 2016 00:07:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Aug 2016 00:07:31 -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:39846] helo=es-i.jp) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5C/14-33134-2C8D3A75 for ; Thu, 04 Aug 2016 20:07:31 -0400 Received: (qmail 104581 invoked by uid 89); 5 Aug 2016 00:07:26 -0000 Received: from unknown (HELO mail-qt0-f169.google.com) (yohgaki@ohgaki.net@209.85.216.169) by 0 with ESMTPA; 5 Aug 2016 00:07:26 -0000 Received: by mail-qt0-f169.google.com with SMTP id x25so167023412qtx.2 for ; Thu, 04 Aug 2016 17:07:25 -0700 (PDT) X-Gm-Message-State: AEkooutVvrBRVhczTijIyGeuz4sSte/MUpFAlyUKjAhrfYjm7xxLU3Vovk8z2c1QpOTAiPdWlp15LKKpCeP8+Q== X-Received: by 10.200.45.181 with SMTP id p50mr9237396qta.31.1470355639862; Thu, 04 Aug 2016 17:07:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.85.242 with HTTP; Thu, 4 Aug 2016 17:06:39 -0700 (PDT) In-Reply-To: References: <27c5add4-2c4c-bab1-6ca7-9c191917dd0e@gmail.com> <65975a09-1d96-c03b-ecb2-ab37d91e621c@gmail.com> <7150dcf2-b571-a5d6-ccb5-9b04a65def90@lsces.co.uk> Date: Fri, 5 Aug 2016 09:06:39 +0900 X-Gmail-Original-Message-ID: Message-ID: To: Lester Caine Cc: "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Adding validate_var_array()/validate_input_array() to which version? From: yohgaki@ohgaki.net (Yasuo Ohgaki) I should have been more precise. On Fri, Aug 5, 2016 at 8:58 AM, Yasuo Ohgaki wrote: > > Input validation is like assertion that should never happen. > It should be validated(asserted) according to the software input spec and > it should be checked as soon as inputs arrive to the software, and leave > behind mistakes, logical inconsistency, etc. Input validation is like assertion that should never happen. Inputs should be validated(asserted) according to the software input spec and inputs should be checked as soon as inputs arrive to the software, and leave behind mistakes, logical inconsistency, etc. -- Yasuo Ohgaki yohgaki@ohgaki.net