Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19118 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15063 invoked by uid 1010); 22 Sep 2005 11:51:08 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 15048 invoked from network); 22 Sep 2005 11:51:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Sep 2005 11:51:08 -0000 X-Host-Fingerprint: 212.112.227.169 ipx11223.ipxserver.de Linux 2.5 (sometimes 2.4) (4) Received: from ([212.112.227.169:32984] helo=ipx11223.ipxserver.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 50/5B-24510-CAA92334 for ; Thu, 22 Sep 2005 07:51:08 -0400 Received: from localhost (localhost [127.0.0.1]) by ipx11223.ipxserver.de (Postfix) with ESMTP id 8E42FDF012A; Thu, 22 Sep 2005 13:51:19 +0200 (CEST) Received: from ipx11223.ipxserver.de ([127.0.0.1]) by localhost (ipx11223 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 02049-06; Thu, 22 Sep 2005 13:51:17 +0200 (CEST) Received: from [127.0.0.1] (i577B588E.versanet.de [87.123.88.142]) by ipx11223.ipxserver.de (Postfix) with ESMTP id 9FFDEDF0129; Thu, 22 Sep 2005 13:51:16 +0200 (CEST) Message-ID: <43329AA4.4000002@php.net> Date: Thu, 22 Sep 2005 13:51:00 +0200 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Lukas Smith Cc: Ron Korving , internals@lists.php.net References: <56.98.24510.D3D82334@pb1.pair.com> <433294C3.1090801@php.net> In-Reply-To: <433294C3.1090801@php.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by somedaemon at backendmedia.com Subject: Re: PDO questions From: lsmith@php.net (Lukas Smith) Lukas Smith wrote: >> 3) Wouldn't it be nice if you could do a $stmt->execute("foo", "bar"); >> (numeric parameters) instead of $stmt->execute(array("foo", "bar")); ? > > > I think this would severely hurt the extensibility of the API not only > for PDO itself, but also for people who want to transparently extend the > API. Also note your suggestion would only work for ? placeholders and not for :foo style placeholders (which I would generally recommend for readability reasons). regards, Lukas