Req #23346 [Opn->Wfx]: stripslashes extention
| From: | nikic@php.net | Date: | Sat, 22 Sep 2012 09:54:15 +0000 |
| Subject: | Req #23346 [Opn->Wfx]: stripslashes extention | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-173643@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=23346&edit=1
ID: 23346
Updated by: nikic@php.net
Reported by: php at dries dot net
Summary: stripslashes extention
-Status: Open
+Status: Wont fix
Type: Feature/Change Request
-Package: Feature/Change Request
+Package: *General Issues
Operating System: all
PHP Version: 4.3.0
Block user comment: N
Private report: N
New Comment:
Closing as magic quotes were dropped in PHP 5.4.
Previous Comments:
------------------------------------------------------------------------
[2003-04-25 10:38:20] php at dries dot net
I think it would be usefull to extend the stripslashes function so it would check for magic_quotes
on or of. So, for example:
stripslashes($string) would always strip slashes
while
stripslashes($string, 1) would only strip slashes when magic_quotes is on
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=23346&edit=1