|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69066 Mysql connect fails when using double quotes with parameters and dollar sign
Submitted: 2015-02-17 14:15 UTC Modified: 2015-02-18 10:17 UTC
From: webframes at gmail dot com Assigned:
Status: Not a bug Package: mysql (PECL)
PHP Version: 5.4.37 OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
9 - 1 = ?
Subscribe to this entry?

 [2015-02-17 14:15 UTC] webframes at gmail dot com
From manual page:
Mysql connect fails when using double quotes with parameters that have the dollar sign. This can be reproduced using the following:
Although this works when you use the single quote, however it fails with the double quote.

Test script:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-02-18 10:17 UTC]
-Status: Open +Status: Not a bug
 [2015-02-18 10:17 UTC]
When double quoted, the string will interpret $ as a variable start. Please read more here about the strings 

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Jan 25 09:03:34 2022 UTC