Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23627 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22344 invoked by uid 1010); 24 May 2006 13:38:16 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 22329 invoked from network); 24 May 2006 13:38:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 May 2006 13:38:16 -0000 X-Host-Fingerprint: 217.79.190.163 r163.red.fastwebserver.de Received: from ([217.79.190.163:1155] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id C8/07-19568-8C164744 for ; Wed, 24 May 2006 09:38:16 -0400 To: internals@lists.php.net Date: Wed, 24 May 2006 15:38:11 +0200 Message-ID: <20060524153811.0130eeb2@localhost.localdomain> Reply-To: pierre.php@gmail.com X-Newsreader: Sylpheed-Claws 2.1.0 (GTK+ 2.8.6; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Posted-By: 217.79.190.163 Subject: filter, state of the beast, take over From: pierre.php@gmail.com (Pierre) Hello, The upcoming default PHP Input filter is orphaned. There is no official active maintainer, or not active. I commited most of the required changes and it is getting really neat. Some small APIs changes are still required (separate the options from the flags in input_get). Here is a short list of the "recent" changes: - support of php pcre expressions (will support caching system) - added input_get_args, fetches all input in one call - Added FILTER_FLAG_SCALAR and FILTER_FLAG_ARRAY , allows or not array values - Basic IPv6 validation support - support for custom decimal separator - INT and Float filters trim the values before the validations (spaces only) - NULL is returned when a value has not been found or set and FALSE if the validation failed See examples and tests in cvs [5]. I like to take over the development and continue my good work on this extension,is there any objections? I do not want to take unilateral decisions but I do want the best possible extension. It is a must if we are going to enable it by default in php 6 and bundled it in a 5.x release. -- Pierre [1] http://www.beeblex.com/lists/index.php/php.internals/22690 [2] http://www.beeblex.com/lists/index.php/php.internals/22705 [3] http://www.beeblex.com/lists/index.php/php.internals/23064 [4] http://cvs.php.net/pecl/filter