#48290 [WFx]: make a patch to the variable parsing module of double quoted strings
From: rasmus@php.net Date: Tue, 10 Nov 2009 07:45:22 +0000 Subject: #48290 [WFx]: make a patch to the variable parsing module of double quoted strings References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-144401@lists.php.net to get a copy of this message
ID: 48290
Updated by: rasmus@php.net
Reported By: kexianbin at diyism dot com
Status: Wont fix
Bug Type: Feature/Change Request
Operating System: Irrelevant
PHP Version: 5.3.2
New Comment:
We are trying to get rid of features like addslashes, not make more
similar ones.
Previous Comments:
------------------------------------------------------------------------
[2009-11-10 07:18:53] kexianbin at diyism dot com
I still wanna reopen this request very much,
If anybody could realize this that will give PHP a special advantage
over other languages.
------------------------------------------------------------------------
[2009-11-10 07:11:10] kexianbin at diyism dot com
Rasmus,
Similar to this in php.ini file:
//Use Sybase-style magic quotes (escape ' with '' instead of \').
magic_quotes_sybase = Off
we could add "double_quotes_escape_for_db = mysql" into php.ini.
------------------------------------------------------------------------
[2009-11-10 05:35:33] kexianbin at diyism dot com
OK, maybe there is another solution.
------------------------------------------------------------------------
[2009-11-10 05:33:02] rasmus@php.net
Stop re-opening this please. Escaping needs to be db-specific since
different dbs use different escape chars. Therefore it cannot be done
generically at the language level.
------------------------------------------------------------------------
[2009-11-10 05:17:35] kexianbin at diyism dot com
Rasmus, I insist that the feature request should be reopen, leave it
here until some day somebody may make it realized.
------------------------------------------------------------------------
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/48290
--
Edit this bug report at http://bugs.php.net/?id=48290&edit=1
Thread (39 messages)
- #48290 [Com]: provide a function to get caller scope variables
- #48290 [Com]: provide a function to get caller scope variables
- #48290 [Opn]: provide a function to get caller scope variables
- #48290 [Opn]: provide a function to get caller scope variables
- #48290 [Opn]: provide a function to get caller scope variables
- #48290 [Opn]: provide a function to get caller scope variables
- #48290 [Opn]: provide a function to get caller scope variables
- #48290 [Opn]: make a patch to the variable parsing module of double quoted strings
- #48290 [Opn->Bgs]: make a patch to the variable parsing module of double quoted strings
- #48290 [Bgs]: make a patch to the variable parsing module of double quoted strings
- #48290 [Bgs]: make a patch to the variable parsing module of double quoted strings
- #48290 [Bgs->Opn]: make a patch to the variable parsing module of double quoted strings
- #48290 [Opn]: make a patch to the variable parsing module of double quoted strings
- #48290 [Opn->WFx]: make a patch to the variable parsing module of double quoted strings
- #48290 [WFx]: make a patch to the variable parsing module of double quoted strings
- #48290 [WFx->Opn]: make a patch to the variable parsing module of double quoted strings
- #48290 [Opn->WFx]: make a patch to the variable parsing module of double quoted strings
- #48290 [WFx]: make a patch to the variable parsing module of double quoted strings
- #48290 [WFx]: make a patch to the variable parsing module of double quoted strings
- #48290 [WFx]: make a patch to the variable parsing module of double quoted strings
- #48290 [WFx]: make a patch to the variable parsing module of double quoted strings
- #48290 [WFx]: make a patch to the variable parsing module of double quoted strings
- #48290 [WFx]: auto escape for double quotes sql string
- #48290 [WFx]: auto escape for variables in double quotes sql string
- #48290 [WFx]: auto escape for variables in double quoted sql string
- #48290 [WFx]: auto escape for variables in double quoted sql string
- #48290 [WFx]: auto escape for variables in double quoted sql string
- #48290 [WFx]: auto escape for variables in double quoted sql string
- #48290 [WFx]: auto escape for variables in double quoted sql string
- #48290 [WFx]: auto escape for variables in double quoted sql string
- #48290 [WFx]: auto escape for variables in double quoted sql string
- #48290 [WFx->Opn]: auto escape for variables in double quoted sql string
- #48290 [Opn->Bgs]: auto escape for variables in double quoted sql string
- Req #48290 [Bgs->Opn]: auto escape for variables in double quoted sql string
- Req #48290 [Opn]: auto escape for variables in double quoted sql string
- Req #48290 [Opn]: auto escape for variables in double quoted sql string
- Req #48290 [Opn->Bgs]: auto escape for variables in double quoted sql string
- Req #48290 [Bgs]: auto escape for variables in double quoted sql string
| « previous | php.bugs (#144401) | next » |
|---|