The filter_var() function is used to filter and validate data in PHP.

  • TRUE
  • FALSE
  • nan
  • nan
The filter_var() function in PHP is used to both filter and validate data. It offers a range of predefined filters to sanitize and validate different types of data, such as URLs, email addresses, numbers, and more. By applying appropriate filters, the filter_var() function ensures the integrity and security of the data. Refer to: http://php.net/manual/en/function.filter-var.php
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *