Req #54619 [Opn->Wfx]: stripslashes extention

From: Date: Thu, 28 Apr 2011 09:03:43 +0000
Subject: Req #54619 [Opn->Wfx]: stripslashes extention
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-160408@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=54619&edit=1 ID: 54619 Updated by: aharvey@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

« previous php.bugs (#160408) next »