Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83328 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63223 invoked from network); 20 Feb 2015 17:22:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Feb 2015 17:22:43 -0000 Authentication-Results: pb1.pair.com header.from=adam.baratz@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=adam.baratz@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.176 as permitted sender) X-PHP-List-Original-Sender: adam.baratz@gmail.com X-Host-Fingerprint: 209.85.217.176 mail-lb0-f176.google.com Received: from [209.85.217.176] ([209.85.217.176:39715] helo=mail-lb0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 11/F7-14173-36D67E45 for ; Fri, 20 Feb 2015 12:22:43 -0500 Received: by lbvn10 with SMTP id n10so7603654lbv.6 for ; Fri, 20 Feb 2015 09:22:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=GoJomXQkyna292e0IjDHZ5R6U30WCQkeA8vKIyFNdcI=; b=H/wx8SurnUrPuoJzkUvWPOIMWGN7/K5AZ0sgCtiRTAh+MHm4H3qEhNr04/mgLSmWXx pehCIKRcMM7XBsqjVDtCIPJtICVEp/H1TuaySsw7Lh/+YXcSOYUDGZOc05h4oYF0bl+f aWK0IiR+WnT53BRzNPpFiyxNjd7DKzaw3QTShljZ/TX38KIfs6aMVrFij/UjvkI04u53 1/YzJbUDHnXsjEx+GPoCxs2WwYvfgAgBVp5g+B1jM91EPk4YwGrO47A12XKGRSsGJli/ /U7YGmdQRdYh3FhWnsDR2s5fU5uv7YfUJogFZJiGVmdsnGhPnMGZVtvT1EVHE3wsiZXq njOA== MIME-Version: 1.0 X-Received: by 10.112.132.101 with SMTP id ot5mr7718445lbb.30.1424452960518; Fri, 20 Feb 2015 09:22:40 -0800 (PST) Received: by 10.152.134.40 with HTTP; Fri, 20 Feb 2015 09:22:40 -0800 (PST) Date: Fri, 20 Feb 2015 12:22:40 -0500 Message-ID: To: internals@lists.php.net Content-Type: multipart/alternative; boundary=047d7b342f2eb609a5050f884c6c Subject: PDO_DBLIB type handling From: adam.baratz@gmail.com (Adam Baratz) --047d7b342f2eb609a5050f884c6c Content-Type: text/plain; charset=UTF-8 Hi, This driver returns all column data as a string, regardless of how it's represented in the DB. I created a patch for my own use that syncs up the type handling with the behavior of the MSSQL extension. This seems like it would be of general use. Does anyone have any feedback before I put together an RFC? My main question would be whether people would rather have this be the default/only behavior, or whether it should be opted into via PDO::ATTR_STRINGIFY_FETCHES. Thanks, Adam --047d7b342f2eb609a5050f884c6c--