Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32984 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55645 invoked by uid 1010); 26 Oct 2007 18:50:41 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 55630 invoked from network); 26 Oct 2007 18:50:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Oct 2007 18:50:41 -0000 X-Host-Fingerprint: 209.155.232.242 office.atl.schematic.com Received: from [209.155.232.242] ([209.155.232.242:10466] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 84/AE-03518-00732274 for ; Fri, 26 Oct 2007 14:50:40 -0400 Message-ID: <84.AE.03518.00732274@pb1.pair.com> To: internals@lists.php.net Date: Fri, 26 Oct 2007 14:50:37 -0400 User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 References: <1D.BB.03518.30622274@pb1.pair.com> <698DE66518E7CA45812BD18E807866CED4BB1B@us-ex1.zend.net> In-Reply-To: <698DE66518E7CA45812BD18E807866CED4BB1B@us-ex1.zend.net> X-Enigmail-Version: 0.95.4 OpenPGP: id=CE409D61 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Posted-By: 209.155.232.242 Subject: Re: [PHP-DEV] [PATCH] Generate warning when using PDO::setAttribute() and ATTR_PERSISTENT From: ramsey@php.net (Ben Ramsey) On 10/26/07 2:44 PM, Andi Gutmans wrote: > Why is it not an if() statement? It can be an if() statement. I added it as a switch in the expectation that other attributes might be added to it in the future. -- Ben Ramsey http://benramsey.com/