Edit report at https://bugs.php.net/bug.php?id=23346&edit=1

 ID:                 23346
 Updated by:         [email protected]
 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

Reply via email to