Req #48290 [Opn]: auto escape for variables in double quoted sql string
| From: | kexianbin at diyism dot com | Date: | Mon, 22 Mar 2010 09:30:07 +0000 |
| Subject: | Req #48290 [Opn]: auto escape for variables in double quoted sql string | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-148835@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=48290&edit=1
ID: 48290
User updated by: kexianbin at diyism dot com
Reported by: kexianbin at diyism dot com
Summary: auto escape for variables in double quoted sql string
Status: Open
Type: Feature/Change Request
Package: *General Issues
Operating System: Irrelevant
PHP Version: 5.3.3
New Comment:
,
Previous Comments:
------------------------------------------------------------------------
[2010-03-22 10:29:52] kexianbin at diyism dot com
,
------------------------------------------------------------------------
[2009-12-16 10:41:10] derick@php.net
.
------------------------------------------------------------------------
[2009-12-16 08:52:56] kexianbin at diyism dot com
I think to realize auto escape for double quoted strings is easier than
to inherit variables from parent scope.
------------------------------------------------------------------------
[2009-11-27 01:53:32] kexianbin at diyism dot com
Rasmus,
Another way,
similar to reserved word 'global' to inherit variables from global
scope, why can't we add a reserved word 'inherit' to inherit varialbes
from parent scope?
I think it's very useful since it's a great advantage now aday in
javascript communities.
Malcolm
------------------------------------------------------------------------
[2009-11-19 07:12:38] rasmus@php.net
We did get rid of it.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/bug.php?id=48290
--
Edit this bug report at http://bugs.php.net/bug.php?id=48290&edit=1