Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62605 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16590 invoked from network); 31 Aug 2012 12:55:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Aug 2012 12:55:51 -0000 Authentication-Results: pb1.pair.com smtp.mail=axel@etcheverry.biz; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=axel@etcheverry.biz; sender-id=pass Received-SPF: pass (pb1.pair.com: domain etcheverry.biz designates 74.125.82.170 as permitted sender) X-PHP-List-Original-Sender: axel@etcheverry.biz X-Host-Fingerprint: 74.125.82.170 mail-we0-f170.google.com Received: from [74.125.82.170] ([74.125.82.170:65290] helo=mail-we0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 17/41-09246-454B0405 for ; Fri, 31 Aug 2012 08:55:49 -0400 Received: by weyr1 with SMTP id r1so1723556wey.29 for ; Fri, 31 Aug 2012 05:55:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=etcheverry.biz; s=euskadi; h=date:from:to:message-id:subject:x-mailer:mime-version:content-type; bh=O46oW4mjJNVjahfTqw4mWJNg1a0AyHqQmxL9FhGVkkY=; b=Wst82aPd3xAzzBbF6EwKkvNxn1JG45BPpYqn/tSCvx5gAI3mw0mqfQkIZeXHQbz3ow XrQ+yp9AH8VE5jQkCZDQzE+MQkf839oadA8xOCNXvhaQmMiSyVyrzSZqbhkVJ9B29RCR SAg/VeIE3gUrdHQaJZfvrYjIc+oZvRh7sp2ZE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:message-id:subject:x-mailer:mime-version:content-type :x-gm-message-state; bh=O46oW4mjJNVjahfTqw4mWJNg1a0AyHqQmxL9FhGVkkY=; b=GtOecEWBUopILHx0Gkxlt1JJT9aNLViHMkpHRBkFkU5IaukGOcHdFRLNR+k7SDHsGg 8UvXW0QFrT9zu0Noto3Ry8twG5WE0TmwABC2rXzC98JO7PtuttMIM4Rd6kcRe6A0hKsG AL/gWZb1n8GXDRCC3jI3Nw90zHARTyKrwK4jgiZFnpnvsnmGpU89XQ5zE52PtBdoDzBU aUmJGUf31wzyXMQT6LpbIFY4EbOXJQKpWRpBZ/Kzc1eAkVZ1s2u8daOUKx0Up3lRVbnA hFU8ZTIJ3WVmPklysmx4lR6yeyl+TTNg5n1Znx65kMCjdeKteVCguDGk6P6QLDe3O56m n3ag== Received: by 10.180.82.230 with SMTP id l6mr4482765wiy.21.1346417746248; Fri, 31 Aug 2012 05:55:46 -0700 (PDT) Received: from [192.168.0.15] (212-198-41-222.rev.numericable.fr. [212.198.41.222]) by mx.google.com with ESMTPS id k2sm1264046wiz.7.2012.08.31.05.55.44 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 31 Aug 2012 05:55:44 -0700 (PDT) Date: Fri, 31 Aug 2012 14:55:41 +0200 To: PHP Internals Message-ID: <878B66F25116489D813EA1A7B9236797@etcheverry.biz> X-Mailer: sparrow 1.6.2 (build 1143.6) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="5040b44d_7fdcc233_ade" X-Gm-Message-State: ALoCoQmfOyiT+LqCFK8pKIhLbY65CNX6edJV0qVWEGdUwhw2YoSMcn6Nez7F4ypfQdPf/42E8dAz Subject: A new php Validator and Filter interface for the SPL From: axel@etcheverry.biz (Axel Etcheverry) --5040b44d_7fdcc233_ade Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, Please take a look at https://github.com/php/php-src/pull/180 This patch is designed to offer two new interfaces in the SPL to standardize filters and validators of frameworks (ZF, SF, etc ...). This allows the developer to use validators and filters of different sources in a same application. The tests are in the patch. Comments and feedback welcome. -- Best regards, Axel Etcheverry Phone : +33 6 84 15 57 52 Twitter : @euskadi31 (http://twitter.com/euskadi31) Home : http://www.axel-etcheverry.com (http://www.axel-etcheverry.com/) Audiofanzine : http://fr.audiofanzine.com (http://fr.audiofanzine.com/) Auto-broc : http://www.auto-broc.fr (http://www.auto-broc.fr/) --5040b44d_7fdcc233_ade--