note 82645 deleted from function.get-magic-quotes-gpc by felipe

From: Date: Sun, 20 Apr 2008 11:39:44 +0000
Subject: note 82645 deleted from function.get-magic-quotes-gpc by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-138564@lists.php.net to get a copy of this message
Note Submitter: surya at c77 dot in ---- @heiko dot richler at informatik dot fh-nuernberg dot de I think your stripslashes_deep should like this: function stripslashes_deep(&$value) { $value = is_array($value) ? array_map('stripslashes_deep', $value) : stripslashes($value); return $value; } You missed the variable reference.

« previous php.notes (#138564) next »