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

 ID:                 54619
 Updated by:         ahar...@php.net
 Reported by:        rc at opelgt dot org
 Summary:            stripslashes extention
-Status:             Open
+Status:             Wont fix
 Type:               Feature/Change Request
-Package:            Arrays related
+Package:            Strings related
 PHP Version:        5.3.6
 Block user comment: N
 Private report:     N

 New Comment:

You can already do this with array_map():



$cookies = array_map('stripslashes', $_COOKIE);



I don't think there's any need to special case stripslashes() to handle
arrays when there's already a generic method to accomplish this.


Previous Comments:
------------------------------------------------------------------------
[2011-04-28 10:43:06] rc at opelgt dot org

Description:
------------
It would be nice (reduces lines in code) when stripslashes could handle
arrays. 

For example stripslashes($_COOKIE);



------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=54619&edit=1

Reply via email to