Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:99113 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63372 invoked from network); 18 May 2017 13:35:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 May 2017 13:35:10 -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:44289] helo=box.beccati.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A6/35-23431-C03AD195 for ; Thu, 18 May 2017 09:35:10 -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 9CDCF200742; Thu, 18 May 2017 15:35:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=beccati.com; s=mail; t=1495114504; bh=CNTvLfr6FzIDnAw9lfC3q4d/odzlfFRBQJvOYVGKWIM=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From; b=U9aWUpcdz30x3nSLQTiWI2fHFlrZQHUhBpK516q+hklqGWiAsx2a+cYMh0A+/zHKS H6nn10ynvuO0poOCbEdxTMK3kOx6XyakeZCgXC7qe7eYHKtznoTILIr6HcTNx1I/mK utc4+n/zM4SpQzG84iYQ7xyXlF+FBbXDISh2bA32QSR4XIU8U6BuKV4zRDdWoP/rlx ux1s8wu7qdMUJA2a7js8fPUO5oo7jccLVjGJYYa5FUWpMoFjZvzhBeoABx01KtxB6I WSxYCUVat2nEd8lhs5S8gVwE9QnD5xUZRx/t0fKaDPOTge4OZSkJwYRCfzwaE3OFtF 4/5WJUUSDhQFA== To: Adam Baratz References: Cc: "internals@lists.php.net" Message-ID: Date: Thu, 18 May 2017 15:34:59 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: [VOTE] PDO Float Type From: php@beccati.com (Matteo Beccati) Hi Adam, On 18/05/2017 14:59, Adam Baratz wrote: >> >> If you search the archives, you might find that I wasn't happy to have >> PARAM_FLOAT without some kind of PARAM_NUMERIC. You're basically saying >> that my point was irrelevant and out of scope. Aww, thanks ;) > > I'm sorry my update sounded like I was ignoring your feedback. Another > change was meant to address your concerns about people misusing > PARAM_FLOAT. Most drivers won't force casts on these values, so if you pass > a string with this type it will work the same as if you used PARAM_STR. > Isn't that the foot-gun you've highlighted? If you add a parameter that is not going to be used 99% of the time, then it's even worse. > Maybe we should approach this another way: is there anything that could be > changed with the RFC to change your mind about it? If not, this > conversation is a waste of time for both of us. As it is now, I'm afraid not. Cheers -- Matteo Beccati Development & Consulting - http://www.beccati.com/