Re: Dorin Marcoci Added Firebrid native type mapping for integers (smallint, integer, bigint) in PDO_Firebird driver
| From: | Adam Baratz | Date: | Fri, 06 Jan 2017 18:58:36 +0000 |
| Subject: | Re: Dorin Marcoci Added Firebrid native type mapping for integers (smallint, integer, bigint) in PDO_Firebird driver | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-97542@lists.php.net to get a copy of this message | ||
>
>
> <https://github.com/madorin/php-src/tree/fb_native>Firebrid
> native type mapping for integers (smallint, integer, bigint) in
> PDO_Firebird driver
It looks like this is an "always on" feature. There's a PDO attribute,
PDO::ATTR_STRINGIFY_FETCHES, that's intended to allow toggling. Since this
is a functionality change, I'd suggest supporting it. It'll make it easier
for users to migrate if they have any baked-in assumptions around getting
strings back.
Thanks,
Adam