Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:98355 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16856 invoked from network); 25 Feb 2017 22:08:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Feb 2017 22:08:08 -0000 Authentication-Results: pb1.pair.com smtp.mail=ocramius@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ocramius@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.170 as permitted sender) X-PHP-List-Original-Sender: ocramius@gmail.com X-Host-Fingerprint: 209.85.220.170 mail-qk0-f170.google.com Received: from [209.85.220.170] ([209.85.220.170:34490] helo=mail-qk0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 13/DB-11648-54002B85 for ; Sat, 25 Feb 2017 17:08:05 -0500 Received: by mail-qk0-f170.google.com with SMTP id s186so51734029qkb.1 for ; Sat, 25 Feb 2017 14:08:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=fkDZqp05nRLsmICfnej7Q5O0KXiTqsQtzyivI2a5SsA=; b=THx4HlMikgwFG8X85iuu9PABLbO0bKT1T7THaaJITuvIOaqgASpqchkv8uMpxB8l9X 9AmKjN3Mncv962yukeOR/eazP2nhS/iWJMy4u/G6WeRkyqC+t8sjVi+/v15JZjSlFtcX MQbimRgUpxoWjjpfqV2m7YzbUHYiRvKBOqtuKBzfLoeOdtlBFh3nWOD19OKFnL/bRrGd a1SRMr35CSC6FXTLyp45yjHVImmS7gSrCwMbrs+pa/lctB/OYPAUfRLi2ZcywfH1rUth jxdC+xe9vzOMhfiajrsHf86uDqQDsXwxORjzQP0nI0LEiBDOciGIIg0ZLMIzfZ5QWGyl Krow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=fkDZqp05nRLsmICfnej7Q5O0KXiTqsQtzyivI2a5SsA=; b=TqvEgy3hHi0ICtkImbzMbOc74Qc2MMIyBkprmnZTaG+NDJqFwUAkOKMF+QEa+/X6S0 yMGrjeyJz3sLkxZSMUxaT6Vi6nKcEKUxhPgQndcWbL0lw0/oYh/ZXhuqVR6e4x3H2BQ3 86wSGt8WqWqFF+WPtVm6KzUQVkUlNtzuIcna47JFmmaTFzweYtksQPzUmWLQCVwCpa2b Fg53HApbwgnEaogtAnckUMi5/xSATteukaWruiKneJc0dNeJElGa7khGSXIRD8cabRhL MYhCUBH2dtwYT7FarR6ZJQBmZ2iQ0gmBBKibPU4wQc8MehrunulHUBTSkVs2Bo3uSMJO tqtA== X-Gm-Message-State: AMke39nCCxHKDWTdc1CEfDda7hMLCXj1zpXCaTUpRyDPXnM4EuX0XXOXA8GyD6dYX7R2LI5CvI05+jv4NCTGqw== X-Received: by 10.237.60.41 with SMTP id t38mr8988407qte.148.1488060481976; Sat, 25 Feb 2017 14:08:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.237.39.33 with HTTP; Sat, 25 Feb 2017 14:07:41 -0800 (PST) In-Reply-To: References: Date: Sat, 25 Feb 2017 23:07:41 +0100 Message-ID: To: Adam Baratz Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=94eb2c19014e6ec14a05496214e7 Subject: Re: [PHP-DEV] Re: [RFC] Extended String Types For PDO From: ocramius@gmail.com (Marco Pivetta) --94eb2c19014e6ec14a05496214e7 Content-Type: text/plain; charset=UTF-8 Hi Adam On Fri, Feb 24, 2017 at 2:28 PM, Adam Baratz wrote: > > > > Based on some pain points with my team and things I've heard from others, > > I created an RFC to handle "national" character sets for emulated > prepared > > statements: > > https://wiki.php.net/rfc/extended-string-types-for-pdo > > > > I had previously suggested this as a driver-specific change, but believe > > it's worthwhile to make it generic since it affects multiple drivers: > > https://externals.io/thread/400#email-12542 > > > > Please let me know what you think. > > > > Thanks, > > Adam > > > Any thoughts on this one? > DBAL maintainer here: before we introduce even more complexity into the PDO stuff (which is already a maze), could a set of test cases be written, so that stuff that is currently impossible to do without this RFC is clearer/demonstrated? I'm asking because we didn't get any bug reports about extended string types for Doctrine DBAL, and adding new types just to workaround the limitations of the usual suspects (remember that PDO for SQLServer is experimental, if not totally unusable) is shotgun surgery, and just more complexity to handle. Greets, Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ --94eb2c19014e6ec14a05496214e7--