Revert "dstripslashes: Use array_map instead of foreach"

This reverts commit 3f5319860e439054f33e054546220e1f9992ad3a.