Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:97332 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 25869 invoked from network); 7 Dec 2016 22:38:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Dec 2016 22:38:03 -0000 Authentication-Results: pb1.pair.com smtp.mail=adam.baratz@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=adam.baratz@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.182 as permitted sender) X-PHP-List-Original-Sender: adam.baratz@gmail.com X-Host-Fingerprint: 209.85.223.182 mail-io0-f182.google.com Received: from [209.85.223.182] ([209.85.223.182:34365] helo=mail-io0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 26/81-11772-94F88485 for ; Wed, 07 Dec 2016 17:38:02 -0500 Received: by mail-io0-f182.google.com with SMTP id c21so680363392ioj.1 for ; Wed, 07 Dec 2016 14:38:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=YQCudiy4Gh62OVQYAsE5J814tZafc/h7VVl/Dbf+9Bw=; b=AbrQhO9YKvNyDDV39F7/EPhir1W9uzw9ckErbGXvNKpiyivnTrhkHlDuSRQ1S9phZO TOKxlwX7jbOfQ8gYWKDedOYwCCPN5wh4gsh/H6uiSL18Fqc+h+GpuxK6+K7VA0f41+dg wNJFswkzTRRKjAoZEghH0FuFDULFhuUOoO29ddTj5bB5nqn+3DaSxbdrr8AVjzxvxz2L /AaWBpV47liZzsig/1ICz3RvazKZIkrmzwLRq0TLnlraKjoHJWM+E/hj4AqcaJt25RYA OHXRpKQ4oI8UUxiXap1yKOb1ZHbJmaeIM8wQ77hp+2+hpA9hXMLr5vCruqx13HF8jLJY zT7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=YQCudiy4Gh62OVQYAsE5J814tZafc/h7VVl/Dbf+9Bw=; b=YTXEP7RAg7iY1OlmB6nnPuQ16RrE3g4UL2Pwmaeo1aKajZ5SrFbUrX0szL6/TSUajB Gv5x78vn0pb/6o1d6EaNVwzshSvcICuJey5IN93zLkXoiP2ElxsTgtTAphWR7Dv/wTFE zg/MeJq+wcJY+/oKfZ/zQkyH0Ong0rLbSOS7vOA06rGXk2AT2IVwEV9KXp/yEzMp/cAn mRAoce0LFGqmeF0xMdZX6P5zzhrHmr9iqbE/BmS2zMqaotvJHdjNUKhRD+vjCE1i6rCt D326GMZ4Nq3Lbg0IFYHRU5F/IdC5ZSmggs7I9kfXX0oh3oNyFZf09JUTJaySDVzpsXEE rMRg== X-Gm-Message-State: AKaTC032jrSODdGmQORbN+3MYDOWNy3SWO+CW9v4bw75ZuiZHKZ4eyqcvVbWrZ5z5e/+IXRm+cezQM4TYDBsWA== X-Received: by 10.36.227.78 with SMTP id d75mr4312775ith.34.1481150278552; Wed, 07 Dec 2016 14:37:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.146.10 with HTTP; Wed, 7 Dec 2016 14:37:58 -0800 (PST) In-Reply-To: References: Date: Wed, 7 Dec 2016 17:37:58 -0500 Message-ID: To: Matteo Beccati Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=94eb2c111de83653500543192cfa Subject: Re: [PHP-DEV] PDO::PARAM_DOUBLE From: adam.baratz@gmail.com (Adam Baratz) --94eb2c111de83653500543192cfa Content-Type: text/plain; charset=UTF-8 > > For decimal, double wouldn't be the correct type anyway, as it could > cause loss of precision. > Sure, agree the name is imprecise. "Double" is mainly relevant to zvals. > Is there a reason PDO::PARAM_DOUBLE doesn't exist? > > I don't know if there's am historical reason. I think it should be > there, but to be honest, I'm not sure it's worth the effort at this point. Say more on why you don't think there'd be a payoff? I'd think that it would be worth taking the (I'm guessing) max. 3 days involved to add missing functionality to a widely-used extension. --94eb2c111de83653500543192cfa--