PHP Filters are pretty cool, but what do you do if the filters don't quite match what you want? Can you create a custom filter?
+4
A:
Yes, you can use FILTER_CALLBACK and provide your own filter function (as callback).
Felix Kling
2010-06-10 17:32:40