Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26276 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75757 invoked by uid 1010); 29 Oct 2006 00:08:56 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 75742 invoked from network); 29 Oct 2006 00:08:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Oct 2006 00:08:56 -0000 Authentication-Results: pb1.pair.com smtp.mail=kevin@oceania.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=kevin@oceania.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain oceania.net from 64.251.31.245 cause and error) X-PHP-List-Original-Sender: kevin@oceania.net X-Host-Fingerprint: 64.251.31.245 unknown Received: from [64.251.31.245] ([64.251.31.245:60759] helo=swamp.oceania.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B9/DA-04500-611F3454 for ; Sat, 28 Oct 2006 20:08:56 -0400 Received: from kevin.oceania.net (177.105.221.203.dial.dynamic.acc51-kent-syd.comindico.com.au [203.221.105.177]) by swamp.oceania.net (8.13.4/8.13.4) with SMTP id k9T0AGSw003570 for ; Sun, 29 Oct 2006 11:10:17 +1100 Date: Sun, 29 Oct 2006 11:46:10 +1100 To: internals@lists.php.net Message-ID: <20061029114610.0f9b43ad.kevin@oceania.net> Organization: Oceania X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i386-vine-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: filter tests From: kevin@oceania.net (Kevin Waterson) Can we add the below tests to 013.phpt in filter var_dump(filter_var(TRUE, FILTER_VALIDATE_BOOLEAN)) var_dump(filter_var(FALSE, FILTER_VALIDATE_BOOLEAN)) returns bool(true) and bool(false) respectively. perhaps add them to the Logical filter array in 034.phpt also may do some good. Kevin -- "Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote."