Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:14548 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 66979 invoked by uid 1010); 3 Feb 2005 00:37:07 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 66754 invoked from network); 3 Feb 2005 00:37:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Feb 2005 00:37:06 -0000 X-Host-Fingerprint: 209.161.72.28 theta.altoona-pa.com Linux 2.4/2.6 Received: from ([209.161.72.28:35812] helo=theta.altoona-pa.com) by pb1.pair.com (ecelerity HEAD (r4105:4106)) with SMTP id 90/2B-30841-2A171024 for ; Wed, 02 Feb 2005 19:34:42 -0500 Received: from JASONGARBER2 (static-207-68-114-163.alt.east.verizon.net [207.68.114.163]) by theta.altoona-pa.com (Postfix) with ESMTP id 475621FE8F; Wed, 2 Feb 2005 19:05:45 -0500 (EST) Date: Wed, 2 Feb 2005 19:07:47 -0500 X-Mailer: The Bat! (v3.0) Professional Reply-To: Jason Garber Organization: IonZoft, Inc. X-Priority: 3 (Normal) Message-ID: <137898015.20050202190747@ionzoft.com> To: Andi Gutmans Cc: Marcus Boerger , internals@lists.php.net In-Reply-To: <5.1.0.14.2.20050202154150.03d2c0c0@localhost> References: <5.1.0.14.2.20050201111730.0299da70@localhost> <5.1.0.14.2.20050201111730.0299da70@localhost> <5.1.0.14.2.20050202154150.03d2c0c0@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PHP 5.1 From: jason@ionzoft.com (Jason Garber) Hello Andi, >>However i'd like to see the 'ifsetor' or '?:' operator since it makes >>many things much faster and easier to read. AG> I am not sure if the security filter functions aren't enough because they AG> will be used to gather and verify input which is the main purpose of ifsetor. AG> Also, we never found a great implementation but that's another story :) ifsetor() has many uses other than input filtering although it is one of the main uses. ifsetor($var, default) is the very clean, simple syntax that I think should be used. I do not believe that input filtering should be built into ifsetor. Thanks. PS (The name, as long as it's fairly short, is not important to me at all) -- Best regards, Jason mailto:jason@ionzoft.com