I currently use separate functions to verify form data eg regular expressions to check email addresses, and other functions for length, cleaning the data etc
I see there are now also built in functions to check form data
eg filter_var($email,FILTER_VALIDATE_EMAIL); to check email addresses
Which is the best approach (ie most secure, fastest)? Use separate functions that I write or modify myself or to use the built in functions?