DEV Community

Discussion on: Good Practices: how to sanitize, validate and escape in PHP [3 methods]

Collapse
 
anastasionico profile image
anastasionico

Correct, also if we know that the form accepts email addresses for instance it would be useful to use value object.
Thanks for your comment