Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:97545 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 91252 invoked from network); 6 Jan 2017 19:39:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Jan 2017 19:39:48 -0000 Authentication-Results: pb1.pair.com smtp.mail=dorin.marcoci@marcodor.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dorin.marcoci@marcodor.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain marcodor.com designates 93.115.138.71 as permitted sender) X-PHP-List-Original-Sender: dorin.marcoci@marcodor.com X-Host-Fingerprint: 93.115.138.71 mail.marcodor.com Received: from [93.115.138.71] ([93.115.138.71:36992] helo=mail.marcodor.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A9/0B-23307-ECEEF685 for ; Fri, 06 Jan 2017 14:23:59 -0500 Received: from DESKTOPGJMTUI6 (host-static-93-115-138-66.moldtelecom.md [93.115.138.66]) by mail.marcodor.com (Postfix) with ESMTPSA id C757D6C4366; Fri, 6 Jan 2017 21:23:55 +0200 (EET) To: "'Anatol Belski'" , "'Adam Baratz'" , "'marius adrian popa'" Cc: "'PHP Developers Mailing List'" References: <02dc01d26850$eb4e3810$c1eaa830$@belski.net> In-Reply-To: <02dc01d26850$eb4e3810$c1eaa830$@belski.net> Date: Fri, 6 Jan 2017 21:23:55 +0200 Organization: Marcodor Message-ID: <001001d26852$6bf9ddb0$43ed9910$@marcodor.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQKOV1z6yLYA/XiBhzL6jPyAglZyvQHDfiIqAeTS95qflrMbEA== Content-Language: ro DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marcodor.com; s=dkim; t=1483730635; bh=7JCOkKewUqc3X6F9QJGwRQpEeYzW3MuCnzbyDuPAZm4=; h=From:To:Cc:References:In-Reply-To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; b=PJhfUWFbFqvw7bnQWof85mr9/9sErLD5q97PPzB5iXAiWXfNxdsvrp0RwogX5TEw05lpk6S5msi81GoNYekzR4zxo1Nu0d3IzeGcgAln7B1z6YeWUo+5UvfcH7dYMBB/IIFfGs2lvVrg1p0iwNoRLTEBeZSDXrd35A+9oyTohf6gGSDlPjoGaiZalZ01Pv55oQEsc4/mz9AWK4KUm+llaPAvUhfktjIzkeMU4igWSvUKtLouBBpWwSZXiDfZVoVnAHb+WnQzP6KOf0raZytpx6Hd5J/JMJqZ5LTc+wbiXSCbEEII7Fqg3YGFpa2uxQGh8Jtas71XfIK5S7if6KXrDA== Subject: RE: [PHP-DEV] Dorin Marcoci Added Firebrid native type mapping for integers (smallint, integer, bigint) in PDO_Firebird driver From: dorin.marcoci@marcodor.com ("Dorin Marcoci") Yep, setting this flag, integers became strings, so all OK, we have a = toggle. A nice weekend to all! :) -----Original Message----- From: Anatol Belski [mailto:anatol.php@belski.net]=20 Sent: Friday, January 6, 2017 9:13 PM To: 'Adam Baratz' ; 'marius adrian popa' = Cc: 'PHP Developers Mailing List' ; 'Dorin = Marcoci' Subject: RE: [PHP-DEV] Dorin Marcoci Added Firebrid native type mapping = for integers (smallint, integer, bigint) in PDO_Firebird driver Hi, > -----Original Message----- > From: Adam Baratz [mailto:adambaratz@php.net] > Sent: Friday, January 6, 2017 7:59 PM > To: marius adrian popa > Cc: PHP Developers Mailing List > Subject: Re: [PHP-DEV] Dorin Marcoci Added Firebrid native type=20 > mapping for integers (smallint, integer, bigint) in PDO_Firebird=20 > driver >=20 > > > > Firebrid > > native type mapping for integers (smallint, integer, bigint) in=20 > > PDO_Firebird driver >=20 >=20 > 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=20 > this is a functionality change, I'd suggest supporting it. It'll make=20 > it easier for users to migrate if they have any baked-in assumptions = around getting strings back. >=20 Good catch. Dorin, would you be up to implement this please? Thanks Anatol