ID: 9156
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: Scripting Engine problem
Description: stripslashes doesn't work as expected

when using preg_replace all seems like addslashes had been processed on the string 
found in \\1 so if the programmer had already did addslashes on the string before 
preg_replace he gets \\1 after double addslashes which results in strings \" change to 
this might confuse users, and it might be added to the manual that all strings 
transfered to \\1 are escape (addslashes) by default.

Previous Comments:

[2001-02-07 12:40:07] [EMAIL PROTECTED]
when doing addslashes() to a string and then doing stripslashes() doesn't remove all 
occurance of single or double qoutes.
this is the string :



Full Bug description available at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to