Re: PDO_DBLIB type handling

From: Date: Sun, 22 Feb 2015 21:02:40 +0000
Subject: Re: PDO_DBLIB type handling
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-83486@lists.php.net to get a copy of this message
Hi Matteo, On Sun, Feb 22, 2015 at 7:45 PM, Matteo Beccati <php@beccati.com> 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

« previous php.internals (#83486) next »