Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100154 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38952 invoked from network); 3 Aug 2017 16:59:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Aug 2017 16:59:18 -0000 Authentication-Results: pb1.pair.com header.from=newaltgroup@bk.ru; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=newaltgroup@bk.ru; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain bk.ru designates 94.100.177.99 as permitted sender) X-PHP-List-Original-Sender: newaltgroup@bk.ru X-Host-Fingerprint: 94.100.177.99 smtp39.i.mail.ru Received: from [94.100.177.99] ([94.100.177.99:42866] helo=smtp39.i.mail.ru) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C3/30-37268-46653895 for ; Thu, 03 Aug 2017 12:59:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bk.ru; s=mail; h=References:To:Cc:In-Reply-To:Date:Subject:Mime-Version:Content-Type:Message-Id:From; bh=ajOi/HmRs5qjfqWeIXUengFgaALypBpiD0ctF2JYt/g=; b=NT5ywuVhGQLi2juauPTyQCnmOU0kotEdAWtD82icUlZwgJ3Huf8XO/DWzXYx9M9lhhktAG92bt/LO+EH9OO4aaWaqhT8IpSHyrRS/fRdYnTYNfoEsw58SMv8PHZL0yj86uaO++86yYMs+xuNubfxcQMVMRdVpQoO02mSyEKG2U8=; Received: by smtp39.i.mail.ru with esmtpa (envelope-from ) id 1ddJSr-0004qR-4l; Thu, 03 Aug 2017 19:59:13 +0300 Message-ID: Content-Type: multipart/alternative; boundary="Apple-Mail=_36C74E2B-55AB-40DA-9F0C-84C29CE5CD2E" Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Date: Thu, 3 Aug 2017 19:59:05 +0300 In-Reply-To: <1501515189.14647.35.camel@schlueters.de> Cc: internals@lists.php.net To: =?utf-8?Q?Johannes_Schl=C3=BCter?= References: <1907EFF3-ED77-4F5C-85AA-CDFE323369C5@bk.ru> <880CDC06-17D6-4E40-8A48-F2E1CB405667@bk.ru> <2A653728-97CA-4AA5-BA30-5BF26FABBC2A@bk.ru> <1501512881.14647.31.camel@schlueters.de> <94973CB5-A3F8-4BE4-9A78-8F759D1829E7@bk.ru> <1501515189.14647.35.camel@schlueters.de> X-Mailer: Apple Mail (2.3273) Authentication-Results: smtp39.i.mail.ru; auth=pass smtp.auth=newaltgroup@bk.ru smtp.mailfrom=newaltgroup@bk.ru X-7FA49CB5: 0D63561A33F958A59FE0CCFD1D80E47E4AC57F01C7B78028F3703907BAF21368725E5C173C3A84C307FFBFDCC3B3F350D5585980C236E1081D6A3D1828C120DEC4224003CC836476C0CAF46E325F83A50BF2EBBBDD9D6B0F05F538519369F3743B503F486389A921A5CC5B56E945C8DA X-Mailru-Sender: BBD8A58B55FF9A8C36AFD41514B0007484EFBB220C1B280F9CF2FAC5076FC74FF715B14F8760EAB2A9271607D6A29722C77752E0C033A69E2328BD8782179214FA0F92EE79D60FBC3453F38A29522196 X-Mras: OK Subject: Re: [PHP-DEV] [Request][Discussion] Introduce interfaces PDOInterface and PDOStatementInterface From: newaltgroup@bk.ru (Andrew Nester) --Apple-Mail=_36C74E2B-55AB-40DA-9F0C-84C29CE5CD2E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Jul 31, 2017, at 6:33 PM, Johannes Schl=C3=BCter = wrote: >=20 > (off-list as this is distracting the discussion) >=20 > On Mo, 2017-07-31 at 18:00 +0300, Andrew Nester wrote: >>=20 >>> On Jul 31, 2017, at 5:54 PM, Johannes Schl=C3=BCter = >> .de> wrote: >>>=20 >>> On Mo, 2017-07-31 at 14:49 +0300, Andrew Nester wrote: >>>> That=E2=80=99s actually the thing that you can=E2=80=99t use >>>> PDO::ATTR_STATEMENT_CLASS with persistent PDO. >>> The actually question is: Why not? - =46rom a quick glance on the >>> code I see no obvious reason > [...] >> Besides code style/architecture things (which is of course >> questionable) the issue with ATTR_STATEMENT_CLASS is that it simply >> doesn=E2=80=99t work with persistent PDO connect and raises=20 >> "General error: PDO::ATTR_STATEMENT_CLASS cannot be used with >> persistent PDO instances" >=20 > Yes, and my question is "why can't it?" I see no obvious reason in the > code. If we can lift weird restrictions from internals this is always > good ...=20 >=20 > johannes I am thinking about writing an RFC for this and continue discussion = there. Will it be a good idea? --Apple-Mail=_36C74E2B-55AB-40DA-9F0C-84C29CE5CD2E--