|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
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-2022 The PHP Group
All rights reserved.
Last updated: Sun Oct 02 06:05:52 2022 UTC