Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83486 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 46708 invoked from network); 22 Feb 2015 21:03:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Feb 2015 21:03:24 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.49 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.192.49 mail-qg0-f49.google.com Received: from [209.85.192.49] ([209.85.192.49:57948] helo=mail-qg0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B1/84-18531-A144AE45 for ; Sun, 22 Feb 2015 16:03:23 -0500 Received: by mail-qg0-f49.google.com with SMTP id q107so21722205qgd.8 for ; Sun, 22 Feb 2015 13:03:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=DDJIPMRXhItxgkmZ3wBscxTrdt5xSzSFPk7IHCG6pBE=; b=sZYHUOOP+h0hkA8Vg0vFufvTh4QJIjunxwGxR8f/WAtwoaTqXyuYoGlt1Ncx8QpLFG E9s3/ftowmkrUaP3/izFB+vvHIFGfK2UkqJcLsLuP/WWAhCh6pJeHdNdtWSC2CU88vFe iFM0zGrKpNnpzGIq+eHkkWheztWTJZV2bx+7nHQhUlMTe6ITbbw7cZIO4Mucj6aT+67R 1Zm4dnj53kiYbBH3M9n1gpTmhZZWWRfFvDvXLygI9pTIyxro8ImvG6ATNoPsbFdKYQ1v qguZhB7gc0CUfIHv7b21lE8pjUbhE56QMCofTTOHIvjwD76tlmWcdJBY/mPo1vh3YEjj oJiw== X-Received: by 10.140.93.195 with SMTP id d61mr17450997qge.48.1424639000382; Sun, 22 Feb 2015 13:03:20 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.229.198.8 with HTTP; Sun, 22 Feb 2015 13:02:40 -0800 (PST) In-Reply-To: <54E9B34C.80202@beccati.com> References: <54E9B34C.80202@beccati.com> Date: Mon, 23 Feb 2015 06:02:40 +0900 X-Google-Sender-Auth: cUyOEvWr2CRNaANtfITAkq7eYTU Message-ID: To: Matteo Beccati Cc: Adam Baratz , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a113b95e28d113c050fb39d9a Subject: Re: [PHP-DEV] PDO_DBLIB type handling From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a113b95e28d113c050fb39d9a Content-Type: text/plain; charset=UTF-8 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 :) Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a113b95e28d113c050fb39d9a--