What are filters in php? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What are filters in php?

Asked in my university exam today. Had no idea what it was!

14th Dec 2017, 1:31 PM
Viraj Singh
Viraj Singh - avatar
1 Answer
+ 1
The PHP filters is used to sanitize and validate and data coming from insecure sources, like user input. Link for study: https://www.tutorialrepublic.com/php-reference/php-filters.php
16th Dec 2017, 1:01 PM
Bits!