Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:27055 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96507 invoked by uid 1010); 16 Dec 2006 23:32:23 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 96492 invoked from network); 16 Dec 2006 23:32:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Dec 2006 23:32:23 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=good Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 66.249.92.170 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 66.249.92.170 ug-out-1314.google.com Linux 2.4/2.6 Received: from [66.249.92.170] ([66.249.92.170:63915] helo=ug-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B3/7C-22993-4E184854 for ; Sat, 16 Dec 2006 18:32:23 -0500 Received: by ug-out-1314.google.com with SMTP id 71so1308817ugh for ; Sat, 16 Dec 2006 15:31:46 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hKmkqlF7EkUR+w6Cu2S3MpLQf0RleqMop/TyDZndOH9DYe4X+CbgBrme5fiM8Fum4q9lccg9xmpJhNy/79sB9ZDpBtsP3i2QGo+eAuercNtRJtdIvkci1Y5nOfJX/gJgAtf9XwW/tcjpLZIsyuHA7Vg9NABdvrVFu0xSlwKamP0= Received: by 10.78.158.11 with SMTP id g11mr877244hue.1166311906560; Sat, 16 Dec 2006 15:31:46 -0800 (PST) Received: by 10.78.122.4 with HTTP; Sat, 16 Dec 2006 15:31:46 -0800 (PST) Message-ID: Date: Sun, 17 Dec 2006 00:31:46 +0100 To: "Andrei Zmievski" Cc: "Rasmus Lerdorf" , "Rui Hirokawa" , "PHP internals" , "Andi Gutmans" , "Zeev Suraski" , "Dmitry Stogov" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20061216131857.5001.RUI_HIROKAWA@ybb.ne.jp> <45838527.3050606@lerdorf.com> <8E9680A2-042A-4C54-9E64-2522CCB9D4B9@gravitonic.com> Subject: Re: [PHP-DEV] php6: input encoding, filter and making JIT really JIT From: pierre.php@gmail.com (Pierre) Here is a couple of notes about both ideas. On 12/17/06, Pierre wrote: > One does not even need to check it until it is done with the > input decoding process. It will also work nicely with ext/filter, if a > validation failed due to the decoding, the error can be fetched using > this function. Or with ext/filter, we can even make it available directly: $myvalues = input_filter_array(INPUT_GET, $mydefinition, $decoding_errors); Another question I have about the per element JIT is about the error reporting. I think we need the extra function anyway, I cannot imagine to have notices/warning while checking user inputs (when I use the language correctly but the input are invalid). --Pierre