note 73033 deleted from function.stripslashes by philip
| From: | philip@php.net | Date: | Wed, 07 Feb 2007 04:54:25 +0000 |
| Subject: | note 73033 deleted from function.stripslashes by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-123004@lists.php.net to get a copy of this message | ||
Note Submitter: Curtis
----
Tim, your code would work in many cases, but it doesn't address the need of stripslashes_deep,
which recursively applies stripslashes on n-dimension arrays. If any of the superglobals you have
there are 2 or more dimensions, you'd get an array to string conversion notice, thus breaking
the expected result.
Both of those issues have been covered by previous posts already.