php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #51186 Missing PDO::PARAM_NUMBER
Submitted: 2010-03-02 22:54 UTC Modified: 2017-03-01 22:38 UTC
Votes:7
Avg. Score:4.1 ± 1.1
Reproduced:6 of 6 (100.0%)
Same Version:2 (33.3%)
Same OS:3 (50.0%)
From: holger dot dippel at umassd dot edu Assigned:
Status: Duplicate Package: PDO related
PHP Version: Irrelevant OS: any
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: holger dot dippel at umassd dot edu
New email:
PHP Version: OS:

 

 [2010-03-02 22:54 UTC] holger dot dippel at umassd dot edu
Description:
------------
The bind parameter type constants do not specify a test for a numeric/float value, that is something like:
PDO::PARAM_NUMBER
PDO::PARAM_FLOAT
possibly with allowing to specify the numbers of decimals.

Is there a chance that this could be added?

Thank you.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-01-02 18:11 UTC] dorin dot marcoci at gmail dot com
PDO::PARAM_FLOAT should be added, but kept separated by PARAM_INT.
PARAM_NUMBER is useless to define. INTs and FLOATs are different types.
 [2017-03-01 22:38 UTC] adambaratz@php.net
-Status: Open +Status: Duplicate
 [2017-03-01 22:38 UTC] adambaratz@php.net
See #43203.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Oct 06 22:01:26 2024 UTC