Re: PDO_DBLIB type handling
| From: | Matteo Beccati | Date: | Mon, 23 Feb 2015 09:42:52 +0000 |
| Subject: | Re: PDO_DBLIB type handling | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-83556@lists.php.net to get a copy of this message | ||
On 22/02/2015 22:02, Yasuo Ohgaki wrote:
Hi Matteo, On Sun, Feb 22, 2015 at 7:45 PM, Matteo Beccati <php@beccati.com> wrote:I'm actually saying that we don't need yet another RFC to fix bugs ;) Cheers -- Matteo Beccati Development & Consulting - http://www.beccati.com/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 :)