Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25771 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60135 invoked by uid 1010); 19 Sep 2006 22:36:17 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 60120 invoked from network); 19 Sep 2006 22:36:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Sep 2006 22:36:17 -0000 Authentication-Results: pb1.pair.com smtp.mail=cschneid@cschneid.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=cschneid@cschneid.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain cschneid.com from 195.226.6.42 cause and error) X-PHP-List-Original-Sender: cschneid@cschneid.com X-Host-Fingerprint: 195.226.6.42 darkcity.gna.ch Linux 2.5 (sometimes 2.4) (4) Received: from [195.226.6.42] ([195.226.6.42:39766] helo=mail.gna.ch) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 95/4F-54096-FD070154 for ; Tue, 19 Sep 2006 18:36:17 -0400 Received: from localhost (localhost [127.0.0.1]) by darkcity.gna.ch (Postfix) with ESMTP id 625ACC4A51; Wed, 20 Sep 2006 00:36:12 +0200 (CEST) Received: from unknown by localhost (amavisd-new, unix socket) id client-XXN4fYMZ; Wed, 20 Sep 2006 00:36:09 +0200 (CEST) Received: from [192.168.1.42] (217-162-171-242.dclient.hispeed.ch [217.162.171.242]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by darkcity.gna.ch (Postfix) with ESMTP id 7A8A3C495E; Wed, 20 Sep 2006 00:36:09 +0200 (CEST) Message-ID: <451070DB.7000803@cschneid.com> Date: Wed, 20 Sep 2006 00:36:11 +0200 User-Agent: Thunderbird 1.5.0.7 (Macintosh/20060909) MIME-Version: 1.0 To: Pierre CC: internals@lists.php.net References: <20060916125431.42e9a5dd@pierre-u64> <450C02B3.10103@cschneid.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at gna.ch Subject: Re: [PHP-DEV] Re: ext/filter, Final API proposal From: cschneid@cschneid.com (Christian Schneider) Pierre wrote: > The flag allows arrays and always returns an array. It is obvious as > if you allow array or scalar, you have to use is_array, that's a step > we easily drop internally by always returning an array. I do not see > the point to have ALLOW_ARRAY and FORCE_ARRAY. It is confusing. I agree with you there. And I also like the function names you guys came up with. But my real reason to write this email is this: Is there any chance INPUT_REQUEST would make it into 5.2 if I come up with a patch? What would be the time frame for it? Is your current patch online so I could base it on that? The reason I'm asking is that I think it the interface without it is unnecessarily crippled and providing it later makes version checking necessary in code using this function. - Chris