Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85935 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23671 invoked from network); 24 Apr 2015 06:17:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Apr 2015 06:17:02 -0000 Authentication-Results: pb1.pair.com smtp.mail=arvids.godjuks@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=arvids.godjuks@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.44 as permitted sender) X-PHP-List-Original-Sender: arvids.godjuks@gmail.com X-Host-Fingerprint: 209.85.215.44 mail-la0-f44.google.com Received: from [209.85.215.44] ([209.85.215.44:33160] helo=mail-la0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1B/30-19336-DDFD9355 for ; Fri, 24 Apr 2015 02:17:02 -0400 Received: by layy10 with SMTP id y10so28139039lay.0 for ; Thu, 23 Apr 2015 23:16:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=BjElesXBbABCPYxnMafsHU6zIeLAHeToU7VYn5sRByQ=; b=aPmteaYQ6s5XpE4NhS21TJ0gelJpjbuznc8b8SJpoGU/JMKvKFqf660NQzrE59BAz/ Bk4K5dY8S7XIgLijjy+nGcaZf4+bJpWpYyCepjeH61i8FOxfQE7iY75I3TWMMivtKcYF j+JMSfbs2v48eT4Mo5xdB5O/QKXf0WYTDGCXLsChFIiU5njtqIWGIxHvExURwSZubK5f GXns9yozdylQVO48xzFAq5e39POq4gIqdBrcztEigIKZIy+ZDGJ7hlk8jswOgbjjvbnQ 9UkE05TmzHyWT5PO/phj33Qi2I8pnsul0RCH2A8Xz4q5Qs/ZjJtX0gWm9Ubu0GJdzG8O b2Dw== X-Received: by 10.112.234.163 with SMTP id uf3mr5646031lbc.9.1429856218273; Thu, 23 Apr 2015 23:16:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.32.74 with HTTP; Thu, 23 Apr 2015 23:16:37 -0700 (PDT) In-Reply-To: References: <5537826A.9010209@gmx.de> <5538881C.8010502@oracle.com> <5538C2A7.4050600@lsces.co.uk> <5538CF4B.5090401@beccati.com> <5538D9B0.5020507@lsces.co.uk> Date: Fri, 24 Apr 2015 09:16:37 +0300 Message-ID: To: Benjamin Eberlei Cc: PHP internals Content-Type: multipart/alternative; boundary=001a11c317e8f85f1f0514725758 Subject: Re: [PHP-DEV] Re: PDO Oracle driver From: arvids.godjuks@gmail.com (Arvids Godjuks) --001a11c317e8f85f1f0514725758 Content-Type: text/plain; charset=UTF-8 2015-04-24 4:42 GMT+03:00 Benjamin Eberlei : > On Thu, Apr 23, 2015 at 3:45 PM, Arvids Godjuks > wrote: > > > PDO is everywhere. Doctrine? Based on PDO. > > > You can use mysqli, oci8 or sqlsrv for example without problems in > Doctrine. > > Exposing some of the internal api of PDO as php functions (SQL Parser) I > would bet it is possible to reimplement PDO in PHP code using mysqli etc.. > as "drivers". > > I think we could discuss going that road as well and we could save > ourselves maintaining some thousands of lines of C code. > May I question the sanity of the words written in this email? :D (it's a joke). The whole point of mysqlnd drivers and other improvements was to cut down on data copying, improving performance and doing a lot of other stuff. Moving PDO to a PHP implementation will kill it all: preformance will suffer, memory usage will skyrocket, dealing with charsets - I don't even wana pretend I understand how to deal with that part in a proper fasion. Doesn't it require access to internal PHP api's to do a lot of what PDO and other native drivers do? Well, the Zephyr could pitch in here, MAYBE, depending on how good it actually is and what it can do, but still, it feels more like a cruch to me. --001a11c317e8f85f1f0514725758--