--TEST-- filter_var() and FILTER_SANITIZE_STRIPPED --EXTENSIONS-- filter --FILE-- Let me see you
Stripped down to the bone

", FILTER_SANITIZE_STRIPPED)); var_dump(filter_var("!@#$%^&*()><<>+_\"'

  • ", FILTER_SANITIZE_STRIPPED)); var_dump(filter_var("", FILTER_SANITIZE_STRIPPED)); var_dump(filter_var("

    Let me see you
    Stripped down to the bone

    ", FILTER_SANITIZE_STRIPPED, FILTER_FLAG_STRIP_LOW)); var_dump(filter_var("!@#$%^&*()><<>+_\"'

  • ", FILTER_SANITIZE_STRIPPED, FILTER_FLAG_STRIP_LOW)); var_dump(filter_var("", FILTER_SANITIZE_STRIPPED, FILTER_FLAG_STRIP_LOW)); var_dump(filter_var("

    Let me see you
    Stripped down to the bone

    ", FILTER_SANITIZE_STRIPPED, FILTER_FLAG_STRIP_HIGH)); var_dump(filter_var("!@#$%^&*()><<>+_\"'

  • ", FILTER_SANITIZE_STRIPPED, FILTER_FLAG_STRIP_HIGH)); var_dump(filter_var("", FILTER_SANITIZE_STRIPPED, FILTER_FLAG_STRIP_HIGH)); echo "Done\n"; ?> --EXPECTF-- Deprecated: Constant FILTER_SANITIZE_STRIPPED is deprecated in %s on line %d string(40) "Let me see you Stripped down to the bone" Deprecated: Constant FILTER_SANITIZE_STRIPPED is deprecated in %s on line %d string(11) "!@#$%^&*()>" Deprecated: Constant FILTER_SANITIZE_STRIPPED is deprecated in %s on line %d string(0) "" Deprecated: Constant FILTER_SANITIZE_STRIPPED is deprecated in %s on line %d string(40) "Let me see you Stripped down to the bone" Deprecated: Constant FILTER_SANITIZE_STRIPPED is deprecated in %s on line %d string(11) "!@#$%^&*()>" Deprecated: Constant FILTER_SANITIZE_STRIPPED is deprecated in %s on line %d string(0) "" Deprecated: Constant FILTER_SANITIZE_STRIPPED is deprecated in %s on line %d string(40) "Let me see you Stripped down to the bone" Deprecated: Constant FILTER_SANITIZE_STRIPPED is deprecated in %s on line %d string(11) "!@#$%^&*()>" Deprecated: Constant FILTER_SANITIZE_STRIPPED is deprecated in %s on line %d string(0) "" Done