#11291Change validators to make use of filter_var() if possible
Description
Problem:
Since PHP 5.2 we have the filter_var() function, which is not used in the validators. This makes it more easy to validate certain things, instead of using own methods.
Solution:
Replace own methods with filter_var() if possible
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.