Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:97542 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79391 invoked from network); 6 Jan 2017 18:58:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Jan 2017 18:58:41 -0000 Authentication-Results: pb1.pair.com header.from=adambaratz@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=adam.baratz@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.170 as permitted sender) X-PHP-List-Original-Sender: adam.baratz@gmail.com X-Host-Fingerprint: 209.85.223.170 mail-io0-f170.google.com Received: from [209.85.223.170] ([209.85.223.170:35055] helo=mail-io0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F4/A9-23307-0E8EF685 for ; Fri, 06 Jan 2017 13:58:41 -0500 Received: by mail-io0-f170.google.com with SMTP id k201so4760941ioe.2 for ; Fri, 06 Jan 2017 10:58:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=jBEJrBgqDzFdoqrGOwqBFkyBxCsXClKJ5BzK3oeuHYo=; b=VHdmEsCGDyXQiZSlJMzQRA9faa2VCbXNOwJ0c1FzbS7v8+vAMHvmF8bSMahjQfhE/V xgk/xUa5IFvkw1EIKq0dPVGN+ahNY9zdC5WUAGKkNDt9oJ9MGVXcAI2sr2SRa8Cj0nog /YN41nV9QMtQ1V/0I/H33bJ2ZivXqOIuXOZX9afgG1LyefX9VNAkYV/EV0Bz3iBlmyoV QevSnJOcockg3UOAkfqjRCjv7F0vqEvuNoeMAvVZGeXQacLvpe945h2UqcIuay3EA/68 4+FYYi13xq1kLGaxiL/fCPuaYp7F6Xot6m6bZQ93TvgYKCBGu5PFWZM07EM6Gh396rS3 60ow== X-Gm-Message-State: AIkVDXKKtS/U5YYNvIBSUH1QF2jbOf+SSO+1FMcGu/zRSLY04WoABZ3WBm1yFAZjzu7Vuw== X-Received: by 10.107.56.6 with SMTP id f6mr5207172ioa.58.1483729118417; Fri, 06 Jan 2017 10:58:38 -0800 (PST) Received: from mail-it0-f44.google.com (mail-it0-f44.google.com. [209.85.214.44]) by smtp.gmail.com with ESMTPSA id l79sm1864102itb.1.2017.01.06.10.58.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Jan 2017 10:58:37 -0800 (PST) Received: by mail-it0-f44.google.com with SMTP id 192so18815071itl.1 for ; Fri, 06 Jan 2017 10:58:37 -0800 (PST) X-Received: by 10.36.222.9 with SMTP id d9mr104377itg.34.1483729117251; Fri, 06 Jan 2017 10:58:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.146.10 with HTTP; Fri, 6 Jan 2017 10:58:36 -0800 (PST) In-Reply-To: References: Date: Fri, 6 Jan 2017 13:58:36 -0500 X-Gmail-Original-Message-ID: Message-ID: To: marius adrian popa Cc: PHP Developers Mailing List Content-Type: multipart/alternative; boundary=94eb2c057e16fa34260545719ab5 Subject: Re: [PHP-DEV] Dorin Marcoci Added Firebrid native type mapping for integers (smallint, integer, bigint) in PDO_Firebird driver From: adambaratz@php.net (Adam Baratz) --94eb2c057e16fa34260545719ab5 Content-Type: text/plain; charset=UTF-8 > > 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 --94eb2c057e16fa34260545719ab5--