Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:98824 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34144 invoked from network); 19 Apr 2017 18:30:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Apr 2017 18:30:45 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@beccati.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=php@beccati.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain beccati.com designates 176.9.123.236 as permitted sender) X-PHP-List-Original-Sender: php@beccati.com X-Host-Fingerprint: 176.9.123.236 box.beccati.com Received: from [176.9.123.236] ([176.9.123.236:55285] helo=box.beccati.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F7/52-61625-3DCA7F85 for ; Wed, 19 Apr 2017 14:30:44 -0400 Received: from authenticated-user (box.beccati.com [176.9.123.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by box.beccati.com (Postfix) with ESMTPSA id 77DF52002D4; Wed, 19 Apr 2017 20:30:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=beccati.com; s=mail; t=1492626640; bh=QUMeJNeHrCT0mR3l24PAkL3gc++Jr9dt8eYAaf5VAd8=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From; b=pba4OoLNDn4XKl1WphuXgouzwh0+WdAXYvJH6xHzkM4XeRDcw/NWT+pfVDjrjcLUm 1VdYHM46jg4/hR9Jk6HyyqqV3I0HuYE84UvqJEqQB0wCDQW0gYSMweIohCU0re1Qrn PAwii3cdnpgfRPyJAAdN21dlZ4Phgs27Aq03ia2MXBtOuLiKKXv0PScaLbwP38ECTI R9Xqq69ROVrPKaHu+TT+Jg6cd+aAkR2JR40nnEGNUK+XffQpag60QdLBjtTsuCr5m/ q/oQMAT9+QNkEcF1LgRLktO8kwk4o1Utm58rrqUdkThgfC2f/slGrkkkHPqdqpRLOn yfAqNhlUK++Ig== To: Adam Baratz References: <5e3e3e9b-f5b9-a19e-c4cb-6af0f5985d94@beccati.com> <8923084a-a357-91e9-44b5-52a4af0a5df1@beccati.com> <86e4681f-9030-80fc-896b-56255c4b84c7@beccati.com> Cc: "internals@lists.php.net" , Andrea Faulds Message-ID: Date: Wed, 19 Apr 2017 20:30:39 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] PDO Float Type From: php@beccati.com (Matteo Beccati) Hi Adam, On 19/04/2017 18:08, Adam Baratz wrote: > I am trying to be as thorough as possible in addressing your concerns. > That's why, after your last response, I delayed the vote and took the > time to work out how each API differentiates between floating point and > fixed-precision values. I'm sorry if it seems like I'm trying to force > this through. I'm just trying to avoid spinning tires when it seems like > we're likely to "agree to disagree." > > That said, I'm not sure how to respond to you when your feedback is very > brief. Simply calling something "ill-advised" doesn't give me a lot to > go on, especially when I feel like I provided a pretty rich level of > detail in the RFC. I apologise if I've been harsh, but I am truly disappointed. I tried to sway the RFC in a certain direction, that is conveying the pretty basic notion that using floating points for fixed precision numbers is wrong: there's lots of literature on that and especially why floats shouldn't be used to represent money. The result was instead "floats all the things!", which is indeed the opposite of what I was expecting. > I'd like to get a better handle on how we should discuss RFCs. We seem > to hit impasses pretty frequently. If you have any specifics on what's > helpful for you, I'm happy to adjust my style. I have no specific suggestion. I'm just worried about the potential disruptions of features that benefit a tiny portion of our users. While I'm at it, could you please clarify the following for me: Why is there so much effort devoted to the legacy dblib driver when pdo_sqlsrv seems a much better replacement on paper? Googling for info didn't help, so there surely must be something I'm missing here. Cheers -- Matteo Beccati Development & Consulting - http://www.beccati.com/