You have a PHP script and you need to get the list of all supported filters. How would you do this?

  • Use the filter_list() function
  • Use the get_supported_filters() function
  • Use the supported_filters() function
  • Use the list_filters() function
To get the list of all supported filters in PHP, you can use the filter_list() function. It returns an array containing the names of all available filters. For more information, consult the PHP documentation on filter_list(): http://php.net/manual/en/function.filter-list.php
Add your answer
Loading...

Leave a comment

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