开发者

Can you use a custom filter with PHP filter_var() and filter_input()

开发者 https://www.devze.com 2023-01-02 20:39 出处:网络
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开发者_Python百科 filter?Yes, you can use FILTER_CALLBACK and provide your own fi

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开发者_Python百科 filter?


Yes, you can use FILTER_CALLBACK and provide your own filter function (as callback).

0

精彩评论

暂无评论...
验证码 换一张
取 消