Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83556 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20529 invoked from network); 23 Feb 2015 09:43:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Feb 2015 09:43:03 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@beccati.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=php@beccati.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain beccati.com designates 176.9.114.167 as permitted sender) X-PHP-List-Original-Sender: php@beccati.com X-Host-Fingerprint: 176.9.114.167 spritz.beccati.com Received: from [176.9.114.167] ([176.9.114.167:59282] helo=mail.beccati.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FB/1A-01128-526FAE45 for ; Mon, 23 Feb 2015 04:43:02 -0500 Received: (qmail 26075 invoked from network); 23 Feb 2015 09:42:58 -0000 Received: from home.beccati.com (HELO ?192.168.1.202?) (88.149.176.119) by mail.beccati.com with SMTP; 23 Feb 2015 09:42:58 -0000 Message-ID: <54EAF61C.60005@beccati.com> Date: Mon, 23 Feb 2015 10:42:52 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Yasuo Ohgaki CC: Adam Baratz , "internals@lists.php.net" References: <54E9B34C.80202@beccati.com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PDO_DBLIB type handling From: php@beccati.com (Matteo Beccati) On 22/02/2015 22:02, Yasuo Ohgaki wrote: > Hi Matteo, > > On Sun, Feb 22, 2015 at 7:45 PM, Matteo Beccati wrote: > >> The default behaviour of mysql/pgsql drivers is to convert to the matching >> PHP type, if possible. That can be turned off via >> PDO::ATTR_STRINGIFY_FETCHES => true. >> >> If PDO_DBLIB doesn't behave like that, I'd say it's a bug that needs to be >> fixed, but possibly only applied to a major/minor release due to the BC >> break. >> > > Please write up RFC now. It's the time :) I'm actually saying that we don't need yet another RFC to fix bugs ;) Cheers -- Matteo Beccati Development & Consulting - http://www.beccati.com/