PHP FILTERS ADVANCED
gocourse.in Maintenance

We'll be back soon

Our CDN (cdn.gocourse.in) is currently unreachable. Some images, JavaScript, or CSS files may not load properly.

Estimated downtime: ~30 minutes

PHP FILTERS ADVANCED

Sugar babies

PHP FILTERS ADVANCED

  • PHP filters also come with several advanced options that can be used to customize their behavior
  • Some of the most commonly used options include Flag options.
  • These options are used to modify the behavior of the filter, such as requiring a specific type of data or allowing multiple options. 

TYPES OF FILTERS IN PHP :

    👉high-pass
    👉low-pass
    👉band-pass
    👉band-reject 

EXAMPLE FOR FILTERS ADVANCED IN PHP :

<?php
$str = "<h1>Hello Kitty!</h1>";
$newstr = filter_var($str, FILTER_SANITIZE_STRING,
FILTER_FLAG_STRIP_HIGH);
echo $newstr ;
?>

OUTPUT :

Hello Kitty!





Tags
Our website uses cookies to enhance your experience. Learn More
Accept !