|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #60368 pg_query_params() like function
Submitted: 2011-11-23 18:04 UTC Modified: 2017-04-24 17:49 UTC
Avg. Score:4.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:2 (100.0%)
From: olafvdspek at gmail dot com Assigned:
Status: Not a bug Package: MySQLi related
PHP Version: 5.4.0RC1 OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: olafvdspek at gmail dot com
New email:
PHP Version: OS:


 [2011-11-23 18:04 UTC] olafvdspek at gmail dot com
This is a great function. Could you add a MySQL variant?

It might be easier to pass the params as normal params instead of as an array.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-04-24 10:01 UTC]
-Status: Open +Status: Not a bug
 [2017-04-24 10:01 UTC]
No one considered this as potential feature since 2011, time to close the ticket.
 [2017-04-24 13:12 UTC] olafvdspek at gmail dot com
SQL injection attacks are obviously no longer a problem so yeah, doesn't make sense to implement this.
 [2017-04-24 14:08 UTC]
pg_query_params is prepared statements. mysqli has supported those since forever.
 [2017-04-24 17:49 UTC] olafvdspek at gmail dot com
I know, but this interface is way more convenient.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Oct 19 22:03:37 2021 UTC